183d290c5STom Rini // SPDX-License-Identifier: GPL-2.0+ 2573a3811SMasahiro Yamada 34af0d7e8SSimon Glass #include <common.h> 49d922450SSimon Glass #include <dm.h> 5573a3811SMasahiro Yamada 6573a3811SMasahiro Yamada /* Firmware access is platform-dependent. No generic code in uclass */ 7573a3811SMasahiro Yamada UCLASS_DRIVER(firmware) = { 8573a3811SMasahiro Yamada .id = UCLASS_FIRMWARE, 9573a3811SMasahiro Yamada .name = "firmware", 10*31b8217eSRajan Vaja #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA) 11aec99c97SAndreas Dannenberg .post_bind = dm_scan_fdt_dev, 12aec99c97SAndreas Dannenberg #endif 13573a3811SMasahiro Yamada }; 14