blob: 7fcd7fb9047ac6b5e13659f884d275a5d953cdb0 [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
Simon Glass51a3ec32017-05-17 17:18:07 -06003#include <common.h>
Simon Glass11c89f32017-05-17 17:18:03 -06004#include <dm.h>
Masahiro Yamada836c55d2017-04-14 11:10:24 +09005
6/* Firmware access is platform-dependent. No generic code in uclass */
7UCLASS_DRIVER(firmware) = {
8 .id = UCLASS_FIRMWARE,
9 .name = "firmware",
Rajan Vajab3b2ddb2018-09-19 03:43:46 -070010#if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
Andreas Dannenberg85083242018-08-27 15:57:38 +053011 .post_bind = dm_scan_fdt_dev,
12#endif
Masahiro Yamada836c55d2017-04-14 11:10:24 +090013};