blob: e83a147a000b6d919cd10d530e4b4b1ac209efe7 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Masahiro Yamada573a3812017-04-14 11:10:24 +09002
Patrick Delaunayb953ec22021-04-27 11:02:19 +02003#define LOG_CATEGORY UCLASS_FIRMWARE
4
Simon Glass4af0d7e2017-05-17 17:18:07 -06005#include <common.h>
Simon Glass9d922452017-05-17 17:18:03 -06006#include <dm.h>
Masahiro Yamada573a3812017-04-14 11:10:24 +09007
8/* Firmware access is platform-dependent. No generic code in uclass */
9UCLASS_DRIVER(firmware) = {
10 .id = UCLASS_FIRMWARE,
11 .name = "firmware",
Simon Glass414cc152021-08-07 07:24:03 -060012#if CONFIG_IS_ENABLED(OF_REAL)
Andreas Dannenbergaec99c92018-08-27 15:57:38 +053013 .post_bind = dm_scan_fdt_dev,
14#endif
Masahiro Yamada573a3812017-04-14 11:10:24 +090015};