mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 20:24:12 +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>
92 lines
2.1 KiB
Plaintext
92 lines
2.1 KiB
Plaintext
CONFIG_SYSVIPC=y
|
|
CONFIG_BSD_PROCESS_ACCT=y
|
|
CONFIG_IKCONFIG=y
|
|
CONFIG_IKCONFIG_PROC=y
|
|
CONFIG_LOG_BUF_SHIFT=14
|
|
CONFIG_SYSFS_DEPRECATED=y
|
|
CONFIG_SYSFS_DEPRECATED_V2=y
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
CONFIG_PROFILING=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
# CONFIG_BLK_DEV_BSG is not set
|
|
CONFIG_CPU_SUBTYPE_SH7785=y
|
|
CONFIG_MEMORY_START=0x0C000000
|
|
CONFIG_FLATMEM_MANUAL=y
|
|
CONFIG_SH_STORE_QUEUES=y
|
|
CONFIG_SH_APSH4A3A=y
|
|
CONFIG_CMDLINE_FROM_BOOTLOADER=y
|
|
CONFIG_HIGH_RES_TIMERS=y
|
|
CONFIG_KEXEC=y
|
|
CONFIG_PREEMPT=y
|
|
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_ADVANCED_ROUTER=y
|
|
CONFIG_IP_PNP=y
|
|
CONFIG_IP_PNP_DHCP=y
|
|
# CONFIG_IPV6 is not set
|
|
# CONFIG_WIRELESS is not set
|
|
# CONFIG_FW_LOADER is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_BLOCK=y
|
|
CONFIG_MTD_CFI=y
|
|
CONFIG_MTD_CFI_AMDSTD=y
|
|
CONFIG_MTD_PHYSMAP=y
|
|
CONFIG_BLK_DEV_RAM=y
|
|
CONFIG_BLK_DEV_RAM_SIZE=16384
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_NET_ETHERNET=y
|
|
CONFIG_SMSC911X=y
|
|
# CONFIG_WLAN is not set
|
|
# 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_HW_CONSOLE_BINDING=y
|
|
CONFIG_SERIAL_SH_SCI=y
|
|
CONFIG_SERIAL_SH_SCI_NR_UARTS=6
|
|
CONFIG_SERIAL_SH_SCI_CONSOLE=y
|
|
CONFIG_HW_RANDOM=y
|
|
# CONFIG_HWMON is not set
|
|
CONFIG_FB=y
|
|
CONFIG_FB_SH7785FB=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_FONTS=y
|
|
CONFIG_FONT_8x8=y
|
|
CONFIG_FONT_8x16=y
|
|
CONFIG_LOGO=y
|
|
# CONFIG_USB_SUPPORT is not set
|
|
CONFIG_EXT2_FS=y
|
|
CONFIG_EXT3_FS=y
|
|
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
|
|
CONFIG_MSDOS_FS=y
|
|
CONFIG_VFAT_FS=y
|
|
CONFIG_NTFS_FS=y
|
|
CONFIG_NTFS_RW=y
|
|
CONFIG_PROC_KCORE=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_JFFS2_FS=y
|
|
CONFIG_CRAMFS=y
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_NFS_V3=y
|
|
CONFIG_NFS_V4=y
|
|
CONFIG_CIFS=y
|
|
CONFIG_NLS_DEFAULT="utf8"
|
|
CONFIG_NLS_CODEPAGE_437=y
|
|
CONFIG_NLS_CODEPAGE_932=y
|
|
CONFIG_NLS_ASCII=y
|
|
CONFIG_NLS_ISO8859_1=y
|
|
CONFIG_NLS_UTF8=y
|
|
# CONFIG_ENABLE_MUST_CHECK is not set
|
|
CONFIG_DEBUG_FS=y
|
|
CONFIG_DEBUG_KERNEL=y
|
|
# CONFIG_DEBUG_PREEMPT is not set
|
|
# CONFIG_DEBUG_BUGVERBOSE is not set
|
|
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
|
|
# CONFIG_FTRACE is not set
|
|
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
|
# CONFIG_CRYPTO_HW is not set
|