[U-Boot] [PATCH] sifive-fu540: config: Add mmc0 as a boot target device

Alistair Francis alistair.francis at wdc.com
Fri Aug 16 18:00:00 UTC 2019


Add the mmc0 device as a BOOT_TARGET_DEVICES.

Signed-off-by: Alistair Francis <alistair.francis at wdc.com>
---
 include/configs/sifive-fu540.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/sifive-fu540.h b/include/configs/sifive-fu540.h
index 858b7a7da1..736ceb1f48 100644
--- a/include/configs/sifive-fu540.h
+++ b/include/configs/sifive-fu540.h
@@ -26,6 +26,7 @@
 #define CONFIG_ENV_SIZE			SZ_128K
 
 #define BOOT_TARGET_DEVICES(func) \
+	func(MMC, mmc, 0) \
 	func(DHCP, dhcp, na)
 
 #include <config_distro_bootcmd.h>
-- 
2.22.0



More information about the U-Boot mailing list