summaryrefslogtreecommitdiff
path: root/configs/socfpga_vining_fpga_defconfig
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2019-06-27 00:19:34 +0200
committermarex <marex@chi.lan>2019-10-09 22:57:40 +0200
commit110861992f1ed1c21e0abd60f71e7f59c2462a0b (patch)
tree193ce5857dcbaec4883f5c1222a38732b0810a64 /configs/socfpga_vining_fpga_defconfig
parent76f0f010086aad0847e846633688262655c4a9d4 (diff)
ARM: socfpga: vining_fpga: Update environment
Update board environment to match the one used in deployment. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Silvio Fricke <silvio.fricke@softing.com> Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Diffstat (limited to 'configs/socfpga_vining_fpga_defconfig')
-rw-r--r--configs/socfpga_vining_fpga_defconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/socfpga_vining_fpga_defconfig b/configs/socfpga_vining_fpga_defconfig
index faa4a17de5..a9c594e219 100644
--- a/configs/socfpga_vining_fpga_defconfig
+++ b/configs/socfpga_vining_fpga_defconfig
@@ -9,7 +9,7 @@ CONFIG_USE_BOOTARGS=y
CONFIG_BOOTARGS="console=ttyS0,115200"
# CONFIG_USE_BOOTCOMMAND is not set
CONFIG_USE_PREBOOT=y
-CONFIG_PREBOOT="setenv hostname vining-${unit_serial} ; setenv PS1 \"${unit_ident} (${unit_serial}) => \" ; if gpio input 78 ; then setenv bootdelay 10 ; setenv boottype rcvr ; else setenv bootdelay 5 ; setenv boottype norm ; fi"
+CONFIG_PREBOOT="setenv hostname vining-${unit_serial} ; setenv PS1 \"${unit_ident} (${unit_serial}) => \" ; if gpio input 78 ; then setenv bootdelay 10 ; setenv boottype rcvr ; elif test -n \"$force_boottype\" ; then setenv bootdelay 1 ; setenv boottype \"$force_boottype\" ; setenv force_boottype ; saveenv ; else setenv bootdelay 5 ; setenv boottype norm ; fi"
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y