We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc3238e commit 9be37bdCopy full SHA for 9be37bd
1 file changed
include/configs/rockchip-common.h
@@ -13,11 +13,20 @@
13
14
#ifndef CONFIG_SPL_BUILD
15
16
-/* First try to boot from SD (index 1), then eMMC (index 0) */
+/*
17
+ * eMMC: index 0
18
+ * SD: index 1
19
+ */
20
#if IS_ENABLED(CONFIG_CMD_MMC)
21
+#if defined(CONFIG_TOW_BOOT_PREDICTABLE_BOOT_PREFER_INTERNAL)
22
+ #define BOOT_TARGET_MMC(func) \
23
+ func(MMC, mmc, 0) \
24
+ func(MMC, mmc, 1)
25
+#elif defined(CONFIG_TOW_BOOT_PREDICTABLE_BOOT_PREFER_EXTERNAL)
26
#define BOOT_TARGET_MMC(func) \
27
func(MMC, mmc, 1) \
28
func(MMC, mmc, 0)
29
+#endif
30
#else
31
#define BOOT_TARGET_MMC(func)
32
#endif
0 commit comments