2018-05-06 17:58:06 -04:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2017-04-14 11:10:24 +09:00
|
|
|
|
2021-04-27 11:02:19 +02:00
|
|
|
#define LOG_CATEGORY UCLASS_FIRMWARE
|
|
|
|
|
2017-05-17 17:18:07 -06:00
|
|
|
#include <common.h>
|
2017-05-17 17:18:03 -06:00
|
|
|
#include <dm.h>
|
2017-04-14 11:10:24 +09:00
|
|
|
|
|
|
|
/* Firmware access is platform-dependent. No generic code in uclass */
|
|
|
|
UCLASS_DRIVER(firmware) = {
|
|
|
|
.id = UCLASS_FIRMWARE,
|
|
|
|
.name = "firmware",
|
2021-08-07 07:24:03 -06:00
|
|
|
#if CONFIG_IS_ENABLED(OF_REAL)
|
2018-08-27 15:57:38 +05:30
|
|
|
.post_bind = dm_scan_fdt_dev,
|
|
|
|
#endif
|
2017-04-14 11:10:24 +09:00
|
|
|
};
|