aboutsummaryrefslogtreecommitdiff
path: root/configs/socfpga_vining_fpga_defconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-07-20 20:51:14 -0600
committerTom Rini <trini@konsulko.com>2019-08-02 11:19:14 -0400
commit37304aaf60bf92a5dc3ef222ba520698bd862a44 (patch)
tree9d5be27f9a753780a118df63ddf2f9e081b3fe0d /configs/socfpga_vining_fpga_defconfig
parentb06da06dd41b9c72b06c9d03f434d4263bbf6bbd (diff)
downloadu-boot-37304aaf60bf92a5dc3ef222ba520698bd862a44.zip
u-boot-37304aaf60bf92a5dc3ef222ba520698bd862a44.tar.gz
u-boot-37304aaf60bf92a5dc3ef222ba520698bd862a44.tar.bz2
Convert CONFIG_USE_PREBOOT and CONFIG_PREBOOT to Kconfig
This converts the following to Kconfig: CONFIG_USE_PREBOOT CONFIG_PREBOOT Both are together in one commit, since otherwise the former causes kconfig to define the latter, which gives duplicate symbol errors. Includes a manual fixup for CONFIG_PREBOOT in ids8313_defconfig since the backslash lands in the wrong place. Similarly with socfpga_vining_fpga. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/socfpga_vining_fpga_defconfig')
-rw-r--r--configs/socfpga_vining_fpga_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/socfpga_vining_fpga_defconfig b/configs/socfpga_vining_fpga_defconfig
index 958f146..1a9323f 100644
--- a/configs/socfpga_vining_fpga_defconfig
+++ b/configs/socfpga_vining_fpga_defconfig
@@ -7,6 +7,8 @@ CONFIG_BOOTDELAY=5
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_SYS_CONSOLE_IS_IN_ENV=y
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y