0001-sifive-fu540-config-Add-mmc0-as-a-boot-target-device.patch 809 B

12345678910111213141516171819202122232425262728
  1. From 9197591db555e852f816614a8bd92af81044396c Mon Sep 17 00:00:00 2001
  2. From: Alistair Francis <alistair.francis@wdc.com>
  3. Date: Wed, 3 Jul 2019 09:39:48 -0700
  4. Subject: [PATCH] sifive-fu540: config: Add mmc0 as a boot target device
  5. Add the mmc0 device as a BOOT_TARGET_DEVICES.
  6. Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
  7. Upstream-Status: Pending
  8. ---
  9. include/configs/sifive-fu540.h | 1 +
  10. 1 file changed, 1 insertion(+)
  11. diff --git a/include/configs/sifive-fu540.h b/include/configs/sifive-fu540.h
  12. index 7007b5f6af..f28f0d7da1 100644
  13. --- a/include/configs/sifive-fu540.h
  14. +++ b/include/configs/sifive-fu540.h
  15. @@ -26,6 +26,7 @@
  16. #define CONFIG_ENV_SIZE SZ_4K
  17. #define BOOT_TARGET_DEVICES(func) \
  18. + func(MMC, mmc, 0) \
  19. func(DHCP, dhcp, na)
  20. #include <config_distro_bootcmd.h>
  21. --
  22. 2.22.0