Rajan Vaja | b3b2ddb | 2018-09-19 03:43:46 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * sandbox firmware driver | ||||
4 | * | ||||
5 | * Copyright (C) 2018 Xilinx, Inc. | ||||
6 | */ | ||||
7 | |||||
8 | #include <common.h> | ||||
9 | #include <dm.h> | ||||
10 | |||||
11 | static const struct udevice_id generic_sandbox_firmware_ids[] = { | ||||
12 | { .compatible = "sandbox,firmware" }, | ||||
13 | { } | ||||
14 | }; | ||||
15 | |||||
16 | U_BOOT_DRIVER(sandbox_firmware) = { | ||||
17 | .name = "sandbox_firmware", | ||||
18 | .id = UCLASS_FIRMWARE, | ||||
19 | .of_match = generic_sandbox_firmware_ids, | ||||
20 | }; |