diff mbox series

[U-Boot,v2,5/8] ARM: Odroid XU3: Adjust BOOT_TARGET_DEVICES to allow booting from SD card (mmc2)

Message ID 20180801124900.28155-6-lukma@denx.de
State Accepted
Delegated to: Minkyu Kang
Headers show
Series ARM: Odroid XU3: Enable DM_MMC support which is necessary for CONFIG_BLK | expand

Commit Message

Lukasz Majewski Aug. 1, 2018, 12:48 p.m. UTC
This change is necessary to allow booting the Odroid XU3 from SD card
after enabling the DM_MMC support.

After this change the SD card mmc IP block is correctly enumerated as mmc2
(and not as mmc1 as in the legacy code).

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Tested-by: Anand Moon <linux.amoon@gmail.com>

---

Changes in v2:
- Add tested-by
- Rebase on the newest main line

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

Comments

Simon Glass Aug. 2, 2018, 4:55 p.m. UTC | #1
On 1 August 2018 at 06:48, Lukasz Majewski <lukma@denx.de> wrote:
>
> This change is necessary to allow booting the Odroid XU3 from SD card
> after enabling the DM_MMC support.
>
> After this change the SD card mmc IP block is correctly enumerated as mmc2
> (and not as mmc1 as in the legacy code).
>
> Signed-off-by: Lukasz Majewski <lukma@denx.de>
> Tested-by: Anand Moon <linux.amoon@gmail.com>
>
> ---
>
> Changes in v2:
> - Add tested-by
> - Rebase on the newest main line
>
>  include/configs/exynos5-common.h | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

diff --git a/include/configs/exynos5-common.h b/include/configs/exynos5-common.h
index a7621fc701b2..cd2a9046afec 100644
--- a/include/configs/exynos5-common.h
+++ b/include/configs/exynos5-common.h
@@ -138,6 +138,7 @@ 
 #define BOOT_TARGET_DEVICES(func) \
 	func(MMC, mmc, 1) \
 	func(MMC, mmc, 0) \
+	func(MMC, mmc, 2) \
 	func(PXE, pxe, na) \
 	func(DHCP, dhcp, na)