]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: exynos5: Try to boot on mmc2 before mmc0/1
authorGuillaume GARDET <guillaume.gardet@arm.com>
Wed, 24 Jul 2019 07:10:13 +0000 (09:10 +0200)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 5 Sep 2019 09:36:59 +0000 (18:36 +0900)
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>
Cc: Lukasz Majewski <lukma@denx.de>
Cc: Anand Moon <linux.amoon@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
include/configs/exynos5-common.h

index 397bbf6d9d305091a31b429151db459b9d109d8d..e0a4d76d53800d268d5afa45bccd086a49a29e1c 100644 (file)
 #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)