xref: /openbmc/u-boot/drivers/firmware/firmware-uclass.c (revision 48f8e15997ee1c6aa6fa62feab620c6b6593aad5)
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