src/Kconfig: Remove 'default n' statements from early in Kconfig
For boolean types, 'n' is the default default value - it doesn't NEED to be set. If it IS set, it prevents a later default from being set. So by removing the 'default n' statements from the early symbols, they can be overridden other places in the tree. Verified that this makes no significant changes to any config file. Change-Id: I1b5b66bd8a3df8154a348b5272c56c88829b3ab4 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/17908 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
10
src/Kconfig
10
src/Kconfig
@ -111,7 +111,6 @@ config SCONFIG_GENPARSER
|
|||||||
|
|
||||||
config USE_OPTION_TABLE
|
config USE_OPTION_TABLE
|
||||||
bool "Use CMOS for configuration values"
|
bool "Use CMOS for configuration values"
|
||||||
default n
|
|
||||||
depends on HAVE_OPTION_TABLE
|
depends on HAVE_OPTION_TABLE
|
||||||
help
|
help
|
||||||
Enable this option if coreboot shall read options from the "CMOS"
|
Enable this option if coreboot shall read options from the "CMOS"
|
||||||
@ -119,7 +118,6 @@ config USE_OPTION_TABLE
|
|||||||
|
|
||||||
config STATIC_OPTION_TABLE
|
config STATIC_OPTION_TABLE
|
||||||
bool "Load default configuration values into CMOS on each boot"
|
bool "Load default configuration values into CMOS on each boot"
|
||||||
default n
|
|
||||||
depends on USE_OPTION_TABLE
|
depends on USE_OPTION_TABLE
|
||||||
help
|
help
|
||||||
Enable this option to reset "CMOS" NVRAM values to default on
|
Enable this option to reset "CMOS" NVRAM values to default on
|
||||||
@ -179,14 +177,12 @@ config INCLUDE_CONFIG_FILE
|
|||||||
|
|
||||||
config COLLECT_TIMESTAMPS
|
config COLLECT_TIMESTAMPS
|
||||||
bool "Create a table of timestamps collected during boot"
|
bool "Create a table of timestamps collected during boot"
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
Make coreboot create a table of timer-ID/timer-value pairs to
|
Make coreboot create a table of timer-ID/timer-value pairs to
|
||||||
allow measuring time spent at different phases of the boot process.
|
allow measuring time spent at different phases of the boot process.
|
||||||
|
|
||||||
config USE_BLOBS
|
config USE_BLOBS
|
||||||
bool "Allow use of binary-only repository"
|
bool "Allow use of binary-only repository"
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
This draws in the blobs repository, which contains binary files that
|
This draws in the blobs repository, which contains binary files that
|
||||||
might be required for some chipsets or boards.
|
might be required for some chipsets or boards.
|
||||||
@ -195,7 +191,6 @@ config USE_BLOBS
|
|||||||
config COVERAGE
|
config COVERAGE
|
||||||
bool "Code coverage support"
|
bool "Code coverage support"
|
||||||
depends on COMPILER_GCC
|
depends on COMPILER_GCC
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
Add code coverage support for coreboot. This will store code
|
Add code coverage support for coreboot. This will store code
|
||||||
coverage information in CBMEM for extraction from user space.
|
coverage information in CBMEM for extraction from user space.
|
||||||
@ -204,7 +199,6 @@ config COVERAGE
|
|||||||
config RELOCATABLE_RAMSTAGE
|
config RELOCATABLE_RAMSTAGE
|
||||||
depends on EARLY_CBMEM_INIT
|
depends on EARLY_CBMEM_INIT
|
||||||
bool "Build the ramstage to be relocatable in 32-bit address space."
|
bool "Build the ramstage to be relocatable in 32-bit address space."
|
||||||
default n
|
|
||||||
select RELOCATABLE_MODULES
|
select RELOCATABLE_MODULES
|
||||||
help
|
help
|
||||||
The reloctable ramstage support allows for the ramstage to be built
|
The reloctable ramstage support allows for the ramstage to be built
|
||||||
@ -216,7 +210,6 @@ config RELOCATABLE_RAMSTAGE
|
|||||||
config CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM
|
config CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM
|
||||||
depends on RELOCATABLE_RAMSTAGE
|
depends on RELOCATABLE_RAMSTAGE
|
||||||
bool
|
bool
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
The relocated ramstage is saved in an area specified by the
|
The relocated ramstage is saved in an area specified by the
|
||||||
by the board and/or chipset.
|
by the board and/or chipset.
|
||||||
@ -241,7 +234,6 @@ config BOOTBLOCK_SOURCE
|
|||||||
|
|
||||||
config SKIP_MAX_REBOOT_CNT_CLEAR
|
config SKIP_MAX_REBOOT_CNT_CLEAR
|
||||||
bool "Do not clear reboot count after successful boot"
|
bool "Do not clear reboot count after successful boot"
|
||||||
default n
|
|
||||||
depends on BOOTBLOCK_NORMAL
|
depends on BOOTBLOCK_NORMAL
|
||||||
help
|
help
|
||||||
Do not clear the reboot count immediately after successful boot.
|
Do not clear the reboot count immediately after successful boot.
|
||||||
@ -251,7 +243,6 @@ config SKIP_MAX_REBOOT_CNT_CLEAR
|
|||||||
|
|
||||||
config UPDATE_IMAGE
|
config UPDATE_IMAGE
|
||||||
bool "Update existing coreboot.rom image"
|
bool "Update existing coreboot.rom image"
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
If this option is enabled, no new coreboot.rom file
|
If this option is enabled, no new coreboot.rom file
|
||||||
is created. Instead it is expected that there already
|
is created. Instead it is expected that there already
|
||||||
@ -270,7 +261,6 @@ config BOARD_ID_STRING
|
|||||||
|
|
||||||
config RAM_CODE_SUPPORT
|
config RAM_CODE_SUPPORT
|
||||||
bool
|
bool
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
If enabled, coreboot discovers RAM configuration (value obtained by
|
If enabled, coreboot discovers RAM configuration (value obtained by
|
||||||
reading board straps) and stores it in coreboot table.
|
reading board straps) and stores it in coreboot table.
|
||||||
|
Reference in New Issue
Block a user