mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-12 14:23:50 +08:00
41598c8251
Since commit bb597c0eeb
("common: bootdelay: move CONFIG_BOOTDELAY
into a Kconfig option"), CONFIG_BOOTDELAY is defined for all boards.
Prior to that commit, it was allowed to unset CONFIG_BOOTDELAY to
not compile common/autoboot.c, as described in common/Makefile:
# This option is not just y/n - it can have a numeric value
ifdef CONFIG_BOOTDELAY
obj-y += autoboot.o
endif
It was a bit odd to enable/disable code with an integer type option,
but it was how this option worked before that commit, and several
boards actually unset it to opt out of the autoboot feature.
This commit adds a new bool option, CONFIG_AUTOBOOT, and makes
CONFIG_BOOTDELAY depend on it.
I chose "default y" for this option because most boards use the
autoboot. I added "# CONFIG_AUTOBOOT is not set" for the boards that
had not set CONFIG_BOOTDELAY prior to the bad commit.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
33 lines
733 B
Plaintext
33 lines
733 B
Plaintext
CONFIG_NIOS2=y
|
|
CONFIG_SYS_CONFIG_NAME="3c120_devboard"
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="3c120_devboard"
|
|
CONFIG_FIT=y
|
|
CONFIG_OF_BOARD_SETUP=y
|
|
CONFIG_HUSH_PARSER=y
|
|
# CONFIG_AUTOBOOT is not set
|
|
CONFIG_CMD_CPU=y
|
|
# CONFIG_CMD_BOOTD is not set
|
|
# CONFIG_CMD_IMLS is not set
|
|
# CONFIG_CMD_XIMG is not set
|
|
# CONFIG_CMD_FPGA is not set
|
|
CONFIG_CMD_GPIO=y
|
|
# CONFIG_CMD_ITEST is not set
|
|
CONFIG_CMD_DHCP=y
|
|
# CONFIG_CMD_NFS is not set
|
|
CONFIG_CMD_MII=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_ALTERA_PIO=y
|
|
CONFIG_MISC=y
|
|
CONFIG_ALTERA_SYSID=y
|
|
CONFIG_MTD=y
|
|
CONFIG_CFI_FLASH=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_ALTERA_TSE=y
|
|
CONFIG_ALTERA_JTAG_UART=y
|
|
CONFIG_ALTERA_JTAG_UART_BYPASS=y
|
|
CONFIG_TIMER=y
|
|
CONFIG_ALTERA_TIMER=y
|