blob: 84caf25548bee119916c4b347a0b9167141fe6b4 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Masahiro Yamada836c55d2017-04-14 11:10:24 +09002
Patrick Delaunay81313352021-04-27 11:02:19 +02003#define LOG_CATEGORY UCLASS_FIRMWARE
4
Simon Glass11c89f32017-05-17 17:18:03 -06005#include <dm.h>
Masahiro Yamada836c55d2017-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 Glass3580f6d2021-08-07 07:24:03 -060011#if CONFIG_IS_ENABLED(OF_REAL)
Andreas Dannenberg85083242018-08-27 15:57:38 +053012 .post_bind = dm_scan_fdt_dev,
13#endif
Masahiro Yamada836c55d2017-04-14 11:10:24 +090014};