-
- Downloads
autoboot: remove CONFIG_ZERO_BOOTDELAY_CHECK
As the help message of CONFIG_BOOTDELAY says, CONFIG_BOOTDELAY=-2 means the autoboot with no delay, with no abort check even if CONFIG_ZERO_BOOTDELAY_CHECK is defined. To sum up, the autoboot behaves as follows: [1] CONFIG_BOOTDELAY=0 && CONFIG_ZERO_BOOTDELAY_CHECK=y autoboot with no delay, but you can abort it by key input [2] CONFIG_BOOTDELAY=0 && CONFIG_ZERO_BOOTDELAY_CHECK=n autoboot with no delay, with no check for abort [3] CONFIG_BOOTDELAY=-1 disable autoboot [4] CONFIG_BOOTDELAY=-2 autoboot with no delay, with no check for abort As you notice, [2] and [4] come to the same result, which means we do not need CONFIG_ZERO_BOOTDELAY_CHECK. We can control all the cases only by CONFIG_BOOTDELAY, like this: [1] CONFIG_BOOTDELAY=0 autoboot with no delay, but you can abort it by key input [2] CONFIG_BOOTDELAY=-1 disable autoboot [3] CONFIG_BOOTDELAY=-2 autoboot with no delay, with no check for abort This commit converts the logic as follow: CONFIG_BOOTDELAY=0 && CONFIG_ZERO_BOOTDELAY_CHECK=n --> CONFIG_BOOTDELAY=-2 Signed-off-by:Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Stefan Roese <sr@denx.de> Acked-by:
Igor Grinberg <grinberg@compulab.co.il> Reviewed-by:
Simon Glass <sjg@chromium.org> Acked-by:
Vladimir Zapolskiy <vz@mleia.com> Reviewed-by:
Heiko Schocher <hs@denx.de> Acked-by:
Christian Riesch <christian.riesch@omicronenergy.com> Acked-by:
Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Showing
- common/Kconfig 1 addition, 1 deletioncommon/Kconfig
- common/autoboot.c 1 addition, 5 deletionscommon/autoboot.c
- configs/brppt1_mmc_defconfig 1 addition, 1 deletionconfigs/brppt1_mmc_defconfig
- configs/brppt1_nand_defconfig 1 addition, 1 deletionconfigs/brppt1_nand_defconfig
- configs/brppt1_spi_defconfig 1 addition, 1 deletionconfigs/brppt1_spi_defconfig
- configs/brxre1_defconfig 1 addition, 1 deletionconfigs/brxre1_defconfig
- configs/cairo_defconfig 1 addition, 1 deletionconfigs/cairo_defconfig
- configs/controlcenterd_TRAILBLAZER_DEVELOP_defconfig 1 addition, 1 deletionconfigs/controlcenterd_TRAILBLAZER_DEVELOP_defconfig
- configs/controlcenterd_TRAILBLAZER_defconfig 1 addition, 1 deletionconfigs/controlcenterd_TRAILBLAZER_defconfig
- configs/omap3_evm_quick_mmc_defconfig 1 addition, 1 deletionconfigs/omap3_evm_quick_mmc_defconfig
- configs/omap3_evm_quick_nand_defconfig 1 addition, 1 deletionconfigs/omap3_evm_quick_nand_defconfig
- doc/README.autoboot 0 additions, 8 deletionsdoc/README.autoboot
- include/configs/CPCI2DP.h 0 additions, 2 deletionsinclude/configs/CPCI2DP.h
- include/configs/CPCI4052.h 0 additions, 2 deletionsinclude/configs/CPCI4052.h
- include/configs/MIP405.h 0 additions, 1 deletioninclude/configs/MIP405.h
- include/configs/PIP405.h 0 additions, 1 deletioninclude/configs/PIP405.h
- include/configs/PLU405.h 0 additions, 1 deletioninclude/configs/PLU405.h
- include/configs/PMC405DE.h 0 additions, 1 deletioninclude/configs/PMC405DE.h
- include/configs/PMC440.h 0 additions, 1 deletioninclude/configs/PMC440.h
- include/configs/VCMA9.h 0 additions, 1 deletioninclude/configs/VCMA9.h
Loading
Please register or sign in to comment