u-boot/0009-ARM-exynos5-Try-to-boot-on-mmc2-bef.patch
Andreas Färber e2bbdb9b35 Accepting request 717646 from hardware👢staging
*WARNING*

Remove linked packages (u-boot-*) in hardware:boot *before* accepting 
this request!

All issues from SR#714191 should have been considered here.

- Fail on errors building RK3288 SD card images (tinker-rk3288 previously) 
- Add libretech-cc and libretech-ac

OBS-URL: https://build.opensuse.org/request/show/717646
OBS-URL: https://build.opensuse.org/package/show/hardware:boot/u-boot?expand=0&rev=48
2019-10-08 18:46:35 +00:00

31 lines
1.1 KiB
Diff

From 6958326b9def18fa8d4ab6e0ca39ffc6935b412b Mon Sep 17 00:00:00 2001
From: Guillaume GARDET <guillaume.gardet@free.fr>
Date: Tue, 16 Jul 2019 14:40:07 +0200
Subject: [PATCH] ARM: exynos5: Try to boot on mmc2 before mmc0/1
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@arm.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)