Rajan Vaja | 833be32 | 2019-02-15 04:45:32 -0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | #include <dm.h> |
| 4 | |
| 5 | static const struct udevice_id zynqmp_firmware_ids[] = { |
| 6 | { .compatible = "xlnx,zynqmp-firmware" }, |
Siva Durga Prasad Paladugu | f7a7120 | 2019-06-23 12:24:57 +0530 | [diff] [blame] | 7 | { .compatible = "xlnx,versal-firmware"}, |
Rajan Vaja | 833be32 | 2019-02-15 04:45:32 -0800 | [diff] [blame] | 8 | { } |
| 9 | }; |
| 10 | |
| 11 | U_BOOT_DRIVER(zynqmp_firmware) = { |
| 12 | .id = UCLASS_FIRMWARE, |
| 13 | .name = "zynqmp-firmware", |
| 14 | .probe = dm_scan_fdt_dev, |
| 15 | .of_match = zynqmp_firmware_ids, |
| 16 | }; |