mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-14 15:23:07 +00: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>
29 lines
746 B
Text
29 lines
746 B
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_S5PC1XX=y
|
|
CONFIG_TARGET_S5P_GONI=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="s5pc1xx-goni"
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_PROMPT="Goni # "
|
|
# CONFIG_AUTOBOOT is not set
|
|
# CONFIG_CMD_IMLS is not set
|
|
# CONFIG_CMD_XIMG is not set
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_DFU=y
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
|
# CONFIG_CMD_FPGA is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
# CONFIG_CMD_NET is not set
|
|
# CONFIG_CMD_NFS is not set
|
|
CONFIG_CMD_CACHE=y
|
|
# CONFIG_CMD_MISC is not set
|
|
CONFIG_CMD_EXT4=y
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_DWC2_OTG=y
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
CONFIG_G_DNL_MANUFACTURER="Samsung"
|
|
CONFIG_G_DNL_VENDOR_NUM=0x04e8
|
|
CONFIG_G_DNL_PRODUCT_NUM=0x6601
|