Commit 9aa4c853 authored by dhivael's avatar dhivael Committed by James T. Lee
Browse files

rockchip: move mmc1 before mmc0 in default boot order

on pinebooks mmc1 is the external card, which should take boot priority
over the internal emmc even if the emmc is bootable.
parent c4fddedc
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
#ifndef CONFIG_SPL_BUILD #ifndef CONFIG_SPL_BUILD
/* First try to boot from SD (index 0), then eMMC (index 1) */ /* First try to boot from SD (index 1), then eMMC (index 0) */
#if CONFIG_IS_ENABLED(CMD_MMC) #if CONFIG_IS_ENABLED(CMD_MMC)
#define BOOT_TARGET_MMC(func) \ #define BOOT_TARGET_MMC(func) \
func(MMC, mmc, 0) \ func(MMC, mmc, 1) \
func(MMC, mmc, 1) func(MMC, mmc, 0)
#else #else
#define BOOT_TARGET_MMC(func) #define BOOT_TARGET_MMC(func)
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment