mirror of
https://github.com/samueldr/wip-pinebook-pro.git
synced 2024-11-23 11:29:43 +01:00
29 lines
942 B
Diff
29 lines
942 B
Diff
From 30c7d9054de2b43dfac742b968586707964f4b96 Mon Sep 17 00:00:00 2001
|
|
From: dhivael <dhivael.git@eno.space>
|
|
Date: Sat, 11 Jan 2020 15:04:04 +0100
|
|
Subject: [PATCH 2/6] 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.
|
|
---
|
|
include/configs/rockchip-common.h | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h
|
|
index 68e1105a4b1..906c22ed0fb 100644
|
|
--- a/include/configs/rockchip-common.h
|
|
+++ b/include/configs/rockchip-common.h
|
|
@@ -14,8 +14,8 @@
|
|
/* First try to boot from SD (index 0), then eMMC (index 1) */
|
|
#if CONFIG_IS_ENABLED(CMD_MMC)
|
|
#define BOOT_TARGET_MMC(func) \
|
|
- func(MMC, mmc, 0) \
|
|
- func(MMC, mmc, 1)
|
|
+ func(MMC, mmc, 1) \
|
|
+ func(MMC, mmc, 0)
|
|
#else
|
|
#define BOOT_TARGET_MMC(func)
|
|
#endif
|
|
--
|
|
2.23.1
|
|
|