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