firmware-uclass.c 332 B

12345678910111213
  1. // SPDX-License-Identifier: GPL-2.0+
  2. #include <common.h>
  3. #include <dm.h>
  4. /* Firmware access is platform-dependent. No generic code in uclass */
  5. UCLASS_DRIVER(firmware) = {
  6. .id = UCLASS_FIRMWARE,
  7. .name = "firmware",
  8. #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
  9. .post_bind = dm_scan_fdt_dev,
  10. #endif
  11. };