[U-Boot] [PATCH] ARM: exynos5: Try to boot on mmc2 before mmc0/1

Guillaume GARDET guillaume.gardet at arm.com
Wed Jul 24 07:10:13 UTC 2019


As stated in commit a61a4a1db009e3e600258551a01b54c4f50ec103 with DM_MMC,
exynos boards now enumarates external SD/MMC slot as mmc2, instead of mmc1
with legacy mode. Moving mmc2 before mmc1/0 restore the previous behavior 
of trying external SD/MMC before internal slot.

Signed-off-by: Guillaume GARDET <guillaume.gardet at arm.com>

Cc: Lukasz Majewski <lukma at denx.de>
Cc: Anand Moon <linux.amoon at gmail.com>
Cc: Simon Glass <sjg at chromium.org>
Cc: Minkyu Kang <mk7.kang at samsung.com>

---
 include/configs/exynos5-common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/exynos5-common.h b/include/configs/exynos5-common.h
index 397bbf6d9d..e0a4d76d53 100644
--- a/include/configs/exynos5-common.h
+++ b/include/configs/exynos5-common.h
@@ -128,9 +128,9 @@
 #define EXYNOS_IRAM_SECONDARY_BASE	0x02020018
 
 #define BOOT_TARGET_DEVICES(func) \
+	func(MMC, mmc, 2) \
 	func(MMC, mmc, 1) \
 	func(MMC, mmc, 0) \
-	func(MMC, mmc, 2) \
 	func(PXE, pxe, na) \
 	func(DHCP, dhcp, na)
 
-- 
2.22.0



More information about the U-Boot mailing list