1 // SPDX-License-Identifier: GPL-2.0+ 2 3 #include <common.h> 4 #include <dm.h> 5 6 /* Firmware access is platform-dependent. No generic code in uclass */ 7 UCLASS_DRIVER(firmware) = { 8 .id = UCLASS_FIRMWARE, 9 .name = "firmware", 10 #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA) 11 .post_bind = dm_scan_fdt_dev, 12 #endif 13 }; 14