[rockchip64-dev] rockpi - really prefer SD over eMMC

This commit is contained in:
Piotr Szczepanik 2019-07-21 23:01:34 +02:00
parent 6c92812b19
commit 4698f9a456

View File

@ -10,3 +10,30 @@ index 5574e9b..d1b50cc 100644
};
aliases {
diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h
index 1b00ef4..c490a21 100644
--- a/include/configs/rockchip-common.h
+++ b/include/configs/rockchip-common.h
@@ -11,18 +11,18 @@
#ifndef CONFIG_SPL_BUILD
#include <config_distro_defaults.h>
-/* First try to boot from SD (index 0), then eMMC (index 1 */
+/* First try to boot from SD (index 1), then eMMC (index 0) */
#ifdef CONFIG_CMD_USB
#define BOOT_TARGET_DEVICES(func) \
- func(MMC, mmc, 0) \
func(MMC, mmc, 1) \
+ func(MMC, mmc, 0) \
func(USB, usb, 0) \
func(PXE, pxe, na) \
func(DHCP, dchp, na)
#else
#define BOOT_TARGET_DEVICES(func) \
- func(MMC, mmc, 0) \
func(MMC, mmc, 1) \
+ func(MMC, mmc, 0) \
func(PXE, pxe, na) \
func(DHCP, dchp, na)
#endif