[U-Boot] [PATCH] rpi: Add mmc 1 as a boot target

Emmanuel Vadot manu at freebsd.org
Mon Jul 2 12:34:55 UTC 2018


When booting with the rpi-firmware "mmc" overlay that disable
the SDHOST controller and use the SDHCI one for the sd card,
mmc 1 because a viable boot target.
Add it to the list

Signed-off-by: Oleksandr Tymoshenko <gonzo at FreeBSD.org>
Signed-off-by: Emmanuel Vadot <manu at freebsd.org>
---
 include/configs/rpi.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/rpi.h b/include/configs/rpi.h
index a97550b732..805ca559bb 100644
--- a/include/configs/rpi.h
+++ b/include/configs/rpi.h
@@ -150,6 +150,7 @@
 
 #define BOOT_TARGET_DEVICES(func) \
 	func(MMC, mmc, 0) \
+	func(MMC, mmc, 1) \
 	func(USB, usb, 0) \
 	func(PXE, pxe, na) \
 	func(DHCP, dhcp, na)
-- 
2.17.0



More information about the U-Boot mailing list