blob: 84caf25548bee119916c4b347a0b9167141fe6b4 [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 Glass9d922452017-05-17 17:18:03 -06005#include <dm.h>
Masahiro Yamada573a3812017-04-14 11:10:24 +09006
7/* Firmware access is platform-dependent. No generic code in uclass */
8UCLASS_DRIVER(firmware) = {
9 .id = UCLASS_FIRMWARE,
10 .name = "firmware",
Simon Glass414cc152021-08-07 07:24:03 -060011#if CONFIG_IS_ENABLED(OF_REAL)
Andreas Dannenbergaec99c92018-08-27 15:57:38 +053012 .post_bind = dm_scan_fdt_dev,
13#endif
Masahiro Yamada573a3812017-04-14 11:10:24 +090014};