summaryrefslogtreecommitdiff
path: root/configs/brppt1_mmc_defconfig
diff options
context:
space:
mode:
authorHannes Schmelzer <oe5hpm@oevsv.at>2018-07-06 16:41:26 +0300
committerTom Rini <trini@konsulko.com>2018-07-20 00:03:35 +0300
commit73e9db22abf5d6ee9db88efa4a1b404f972b8e24 (patch)
tree3f54ed5c2315d0aefd6bc894d6fd1e0cf613aa45 /configs/brppt1_mmc_defconfig
parentd63f7130cea19c5f356ba651f0cbd37a964c1dc6 (diff)
downloadu-boot-73e9db22abf5d6ee9db88efa4a1b404f972b8e24.tar.xz
board/BuR/brppt1: implement more flexible boot process
With this commit we do: - set the bootdelay in all brppt1 defconfigs to 0, this makes development easier, since we can break into serial console. - move CONFIG_BOOTCOMMAND from header file to defconfig - introduce b_mode variable for selecting the final boot-target. This b_mode represents the boot-switch, which can found on most b&r targets. On the brppt1 this boot-switch is derived from some gpio and the bootcounter within the RTC block, making it so possible to force a boot-target (as example for repair-case). - refactor the environment for booting new flexible way primary we want to get some bootscr.img within the mass-storage, this script then loads everything needed for the boot. For legacy reason we implement the t30lgcy#x boot targets, booting the already delivered linux-images. - make space for the cfgscr within mtdparts on brppt1_nand Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Diffstat (limited to 'configs/brppt1_mmc_defconfig')
-rw-r--r--configs/brppt1_mmc_defconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/configs/brppt1_mmc_defconfig b/configs/brppt1_mmc_defconfig
index b8db5098de..6bb4657113 100644
--- a/configs/brppt1_mmc_defconfig
+++ b/configs/brppt1_mmc_defconfig
@@ -10,7 +10,9 @@ CONFIG_SPL_SERIAL_SUPPORT=y
CONFIG_SPL=y
CONFIG_OF_BOARD_SETUP=y
CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,EMMC_BOOT"
-CONFIG_BOOTDELAY=-2
+CONFIG_BOOTDELAY=0
+CONFIG_USE_BOOTCOMMAND=y
+CONFIG_BOOTCOMMAND="run b_default"
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
CONFIG_SYS_CONSOLE_INFO_QUIET=y