hc
2024-08-12 233ab1bd4c5697f5cdec94e60206e8c6ac609b4c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * SPDX-License-Identifier:    GPL-2.0+
 */
 
#include <common.h>
#include <dm.h>
 
/* Firmware access is platform-dependent.  No generic code in uclass */
UCLASS_DRIVER(firmware) = {
   .id        = UCLASS_FIRMWARE,
   .name        = "firmware",
};
 
U_BOOT_DRIVER(firmware) = {
   .name    = "firmware",
   .id    = UCLASS_FIRMWARE,
#if !CONFIG_IS_ENABLED(OF_PLATDATA)
   .bind = dm_scan_fdt_dev,
#endif
};