Prepare v2023.10
[platform/kernel/u-boot.git] / drivers / firmware / firmware-uclass.c
1 // SPDX-License-Identifier: GPL-2.0+
2
3 #define LOG_CATEGORY UCLASS_FIRMWARE
4
5 #include <common.h>
6 #include <dm.h>
7
8 /* Firmware access is platform-dependent.  No generic code in uclass */
9 UCLASS_DRIVER(firmware) = {
10         .id             = UCLASS_FIRMWARE,
11         .name           = "firmware",
12 #if CONFIG_IS_ENABLED(OF_REAL)
13         .post_bind      = dm_scan_fdt_dev,
14 #endif
15 };