diff options
author | Dongjin Kim <tobetter@gmail.com> | 2019-12-11 06:10:52 +0000 |
---|---|---|
committer | Dongjin Kim <tobetter@gmail.com> | 2020-03-28 17:28:44 +0900 |
commit | 4b87ffa4c7025642500c567abf7ca324f7f3f2cb (patch) | |
tree | 0d0e331d1d00a0378b1f01361db2b70dee8492dc | |
parent | 48f752451da269c11fac7a5ccf9b5a87136bf12c (diff) | |
download | u-boot-odroid-c1-4b87ffa4c7025642500c567abf7ca324f7f3f2cb.tar.gz |
ODROID-XU4: fix boot order by boot select switch
Change-Id: I1485adb2a1d3ef495a46ef24ab0a5da14de465d4
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
-rw-r--r-- | board/samsung/common/board.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c index ee2fc7971e..4099c7ac36 100644 --- a/board/samsung/common/board.c +++ b/board/samsung/common/board.c @@ -299,6 +299,12 @@ int board_late_init(void) #ifdef CONFIG_MISC_INIT_R int misc_init_r(void) { +#ifdef CONFIG_TARGET_ODROID_XU3 + env_set("boot_targets", (get_boot_mode() == BOOT_MODE_SD) + ? "mmc2 mmc0 pxe dhcp" + : "mmc0 mmc2 pxe dhcp"); +#endif + if (IS_ENABLED(CONFIG_BOARD_TYPES) && !IS_ENABLED(CONFIG_DISPLAY_BOARDINFO_LATE)) { /* |