mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-07 14:32:23 +00:00
d9a1dab65a
The 'choice' statement is primarily used to exclusively select one option, but the 'optional' property allows all entries to be disabled. This feature is rarely used. In fact, it is only used in arch/sh/Kconfig because the equivalent outcome can be achieved by inserting one more entry. The 'optional' property support will be removed from Kconfig. This commit replaces the 'optional' property with a dummy option, CMDLINE_FROM_BOOTLOADER, as seen in some other architectures. Note: The 'default CMDLINE_OVERWRITE' statement does not work as intended in combination with 'optional'. If neither CONFIG_CMDLINE_OVERWRITE nor CONFIG_CMDLINE_EXTEND is specified in a defconfig file, both of them are disabled. This is a bug. To maintain the current behavior, I added CONFIG_CMDLINE_FROM_BOOTLOADER=y to those defconfig files. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Acked-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
54 lines
1.3 KiB
Plaintext
54 lines
1.3 KiB
Plaintext
# CONFIG_SWAP is not set
|
|
CONFIG_LOG_BUF_SHIFT=14
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
# CONFIG_HOTPLUG is not set
|
|
# CONFIG_BLK_DEV_BSG is not set
|
|
CONFIG_CPU_SUBTYPE_SH7751R=y
|
|
CONFIG_MEMORY_SIZE=0x01000000
|
|
CONFIG_FLATMEM_MANUAL=y
|
|
CONFIG_SH_SECUREEDGE5410=y
|
|
CONFIG_SH_DMA=y
|
|
CONFIG_SH_DMA_API=y
|
|
CONFIG_PCI=y
|
|
CONFIG_CMDLINE_FROM_BOOTLOADER=y
|
|
CONFIG_NET=y
|
|
CONFIG_INET=y
|
|
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
|
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
|
# CONFIG_INET_XFRM_MODE_BEET is not set
|
|
# CONFIG_INET_DIAG is not set
|
|
# CONFIG_IPV6 is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_BLOCK_RO=y
|
|
CONFIG_MTD_CFI=y
|
|
CONFIG_MTD_CFI_ADV_OPTIONS=y
|
|
CONFIG_MTD_CFI_GEOMETRY=y
|
|
# CONFIG_MTD_MAP_BANK_WIDTH_2 is not set
|
|
# CONFIG_MTD_MAP_BANK_WIDTH_4 is not set
|
|
# CONFIG_MTD_CFI_I2 is not set
|
|
CONFIG_MTD_CFI_INTELEXT=y
|
|
CONFIG_MTD_PLATRAM=y
|
|
CONFIG_BLK_DEV_RAM=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_NET_ETHERNET=y
|
|
CONFIG_NET_PCI=y
|
|
CONFIG_8139CP=y
|
|
CONFIG_8139TOO=y
|
|
# CONFIG_INPUT_MOUSEDEV is not set
|
|
# CONFIG_INPUT_KEYBOARD is not set
|
|
# CONFIG_INPUT_MOUSE is not set
|
|
# CONFIG_SERIO is not set
|
|
# CONFIG_VT is not set
|
|
CONFIG_SERIAL_SH_SCI=y
|
|
CONFIG_SERIAL_SH_SCI_CONSOLE=y
|
|
# CONFIG_HW_RANDOM is not set
|
|
# CONFIG_HWMON is not set
|
|
# CONFIG_USB_SUPPORT is not set
|
|
CONFIG_RTC_CLASS=y
|
|
CONFIG_RTC_DRV_DS1302=y
|
|
CONFIG_EXT2_FS=y
|
|
# CONFIG_DNOTIFY is not set
|
|
CONFIG_TMPFS=y
|
|
CONFIG_CRAMFS=y
|
|
CONFIG_ROMFS_FS=y
|