Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Masahiro Yamada | 573a381 | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 2 | |
Simon Glass | 4af0d7e | 2017-05-17 17:18:07 -0600 | [diff] [blame] | 3 | #include <common.h> |
Simon Glass | 9d92245 | 2017-05-17 17:18:03 -0600 | [diff] [blame] | 4 | #include <dm.h> |
Masahiro Yamada | 573a381 | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 5 | |
| 6 | /* Firmware access is platform-dependent. No generic code in uclass */ |
| 7 | UCLASS_DRIVER(firmware) = { |
| 8 | .id = UCLASS_FIRMWARE, |
| 9 | .name = "firmware", |
Andreas Dannenberg | aec99c9 | 2018-08-27 15:57:38 +0530 | [diff] [blame] | 10 | #if CONFIG_IS_ENABLED(OF_CONTROL) |
| 11 | .post_bind = dm_scan_fdt_dev, |
| 12 | #endif |
Masahiro Yamada | 573a381 | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 13 | }; |