Convert CONFIG_USE_PREBOOT and CONFIG_PREBOOT to Kconfig
[oweals/u-boot.git] / include / configs / socfpga_vining_fpga.h
index 7fc1a95e8e88400c42b1b11dac14e0686a09f7c1..232536a763d61919d2bdf2f123ea2159ceeb2b9d 100644 (file)
  *  if button B is not pressed, boot normal Linux system immediatelly
  *  if button B is pressed, wait $bootdelay and boot recovery system
  */
-#define CONFIG_USE_PREBOOT
-#define 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"
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "verify=n\0" \