summaryrefslogtreecommitdiff
path: root/configs/nokia_rx51_defconfig
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2020-04-01 01:35:11 +0300
committerLokesh Vutla <lokeshvutla@ti.com>2020-05-11 07:46:49 +0300
commitfca7abf3b9d476546d29d83c1adfd0c3907206d9 (patch)
tree9e27e6c176772390344bfdbc9f8f20467a72bf6c /configs/nokia_rx51_defconfig
parent778907d2132be43ec286f07fade5cdb6b3cbfffb (diff)
downloadu-boot-fca7abf3b9d476546d29d83c1adfd0c3907206d9.tar.xz
Nokia RX-51: Move code from defconfig back to C header file
In commit commit 37304aaf60bf ("Convert CONFIG_USE_PREBOOT and CONFIG_PREBOOT to Kconfig") was moved complicated multiline script code from C header to oneliner in defconfig. After this change multiline to wide oneliner it is hard to read this code and even harder to debug. Moreover this script code should be at place where are other scripts, so move it back to C header file. Define new env variable preboot which stores this script and in option CONFIG_PREBOOT calls this preboot variable. Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'configs/nokia_rx51_defconfig')
-rw-r--r--configs/nokia_rx51_defconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/nokia_rx51_defconfig b/configs/nokia_rx51_defconfig
index f9e5b0e123..5ba9768d02 100644
--- a/configs/nokia_rx51_defconfig
+++ b/configs/nokia_rx51_defconfig
@@ -6,7 +6,7 @@ CONFIG_TARGET_NOKIA_RX51=y
CONFIG_NR_DRAM_BANKS=2
CONFIG_BOOTDELAY=30
CONFIG_USE_PREBOOT=y
-CONFIG_PREBOOT="setenv mmcnum 1; setenv mmcpart 1;setenv mmcscriptfile bootmenu.scr;if run switchmmc; then setenv mmcdone true;setenv mmctype fat;if run scriptload; then true; else setenv mmctype ext2;if run scriptload; then true; else setenv mmctype ext4;if run scriptload; then true; else setenv mmcdone false;fi;fi;fi;if ${mmcdone}; then run scriptboot;fi;fi;if run slide; then true; else setenv bootmenu_delay 0;setenv bootdelay 0;fi"
+CONFIG_PREBOOT="run preboot"
# CONFIG_CONSOLE_MUX is not set
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
CONFIG_HUSH_PARSER=y