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