mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 15:44:13 +08: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>
56 lines
1.2 KiB
Plaintext
56 lines
1.2 KiB
Plaintext
# CONFIG_SWAP is not set
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_BSD_PROCESS_ACCT=y
|
|
CONFIG_IKCONFIG=y
|
|
CONFIG_IKCONFIG_PROC=y
|
|
CONFIG_LOG_BUF_SHIFT=14
|
|
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
|
|
# CONFIG_HOTPLUG is not set
|
|
CONFIG_MODULES=y
|
|
# CONFIG_BLK_DEV_BSG is not set
|
|
CONFIG_CPU_SUBTYPE_SH7750=y
|
|
CONFIG_MEMORY_START=0x0c000000
|
|
CONFIG_MEMORY_SIZE=0x02000000
|
|
CONFIG_FLATMEM_MANUAL=y
|
|
CONFIG_SH_SOLUTION_ENGINE=y
|
|
CONFIG_SH_PCLK_FREQ=33333333
|
|
CONFIG_HEARTBEAT=y
|
|
CONFIG_CMDLINE_FROM_BOOTLOADER=y
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_MULTICAST=y
|
|
CONFIG_IP_PNP=y
|
|
CONFIG_IP_PNP_BOOTP=y
|
|
# CONFIG_IPV6 is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_BLOCK=y
|
|
CONFIG_MTD_CFI=y
|
|
CONFIG_MTD_CFI_AMDSTD=y
|
|
CONFIG_MTD_ROM=y
|
|
CONFIG_SCSI=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_NET_ETHERNET=y
|
|
CONFIG_STNIC=y
|
|
# CONFIG_INPUT is not set
|
|
# CONFIG_SERIO is not set
|
|
# CONFIG_VT is not set
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_8250_NR_UARTS=2
|
|
CONFIG_SERIAL_8250_RUNTIME_UARTS=2
|
|
CONFIG_SERIAL_SH_SCI=y
|
|
CONFIG_SERIAL_SH_SCI_CONSOLE=y
|
|
CONFIG_HW_RANDOM=y
|
|
CONFIG_WATCHDOG=y
|
|
CONFIG_SH_WDT=y
|
|
CONFIG_PROC_KCORE=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_JFFS2_FS=y
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_ROOT_NFS=y
|
|
CONFIG_PARTITION_ADVANCED=y
|
|
# CONFIG_MSDOS_PARTITION is not set
|
|
# CONFIG_ENABLE_MUST_CHECK is not set
|
|
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|