UPSTREAM: src/Kconfig: Move bootblock behavior to arch/x86 as TODO suggested
The four options are only used in X86:
- BOOTBLOCK_SIMPLE
- BOOTBLOCK_NORMAL
- BOOTBLOCK_SOURCE
- SKIP_MAX_REBOOT_CNT_CLEAR
Move them all into src/arch/x86/Kconfig - this puts them in the chipset
menu instead of general setup.
Verified that this makes no significant changes to any config file.
BUG=none
BRANCH=none
TEST=none
Change-Id: If9a61ed8a0b9add3b4f70dfb15ea0213c452f584
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Original-Commit-Id: 408fda799a
Original-Change-Id: I2798ef67a8c6aed5afac34322be15fdf0c794059
Original-Signed-off-by: Martin Roth <martinroth@google.com>
Original-Reviewed-on: https://review.coreboot.org/17909
Original-Reviewed-by: Kysti Mlkki <kyosti.malkki@gmail.com>
Original-Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Original-Tested-by: build bot (Jenkins)
Reviewed-on: https://chromium-review.googlesource.com/443682
This commit is contained in:
parent
c3b8dee35a
commit
eb30332c1d
2 changed files with 26 additions and 27 deletions
27
src/Kconfig
27
src/Kconfig
|
|
@ -214,33 +214,6 @@ config CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM
|
|||
The relocated ramstage is saved in an area specified by the
|
||||
by the board and/or chipset.
|
||||
|
||||
# TODO: This doesn't belong here, move to src/arch/x86/Kconfig
|
||||
choice
|
||||
prompt "Bootblock behaviour"
|
||||
default BOOTBLOCK_SIMPLE
|
||||
|
||||
config BOOTBLOCK_SIMPLE
|
||||
bool "Always load fallback"
|
||||
|
||||
config BOOTBLOCK_NORMAL
|
||||
bool "Switch to normal if CMOS says so"
|
||||
|
||||
endchoice
|
||||
|
||||
config BOOTBLOCK_SOURCE
|
||||
string
|
||||
default "bootblock_simple.c" if BOOTBLOCK_SIMPLE
|
||||
default "bootblock_normal.c" if BOOTBLOCK_NORMAL
|
||||
|
||||
config SKIP_MAX_REBOOT_CNT_CLEAR
|
||||
bool "Do not clear reboot count after successful boot"
|
||||
depends on BOOTBLOCK_NORMAL
|
||||
help
|
||||
Do not clear the reboot count immediately after successful boot.
|
||||
Set to allow the payload to control normal/fallback image recovery.
|
||||
Note that it is the responsibility of the payload to reset the
|
||||
normal boot bit to 1 after each successsful boot.
|
||||
|
||||
config UPDATE_IMAGE
|
||||
bool "Update existing coreboot.rom image"
|
||||
help
|
||||
|
|
|
|||
|
|
@ -214,3 +214,29 @@ config ROMSTAGE_DEBUG_SPINLOOP
|
|||
help
|
||||
Add a spin (JMP .) in assembly_entry.S during early romstage to wait
|
||||
for a JTAG debugger to break into the execution sequence.
|
||||
|
||||
choice
|
||||
prompt "Bootblock behaviour"
|
||||
default BOOTBLOCK_SIMPLE
|
||||
|
||||
config BOOTBLOCK_SIMPLE
|
||||
bool "Always load fallback"
|
||||
|
||||
config BOOTBLOCK_NORMAL
|
||||
bool "Switch to normal if CMOS says so"
|
||||
|
||||
endchoice
|
||||
|
||||
config BOOTBLOCK_SOURCE
|
||||
string
|
||||
default "bootblock_simple.c" if BOOTBLOCK_SIMPLE
|
||||
default "bootblock_normal.c" if BOOTBLOCK_NORMAL
|
||||
|
||||
config SKIP_MAX_REBOOT_CNT_CLEAR
|
||||
bool "Do not clear reboot count after successful boot"
|
||||
depends on BOOTBLOCK_NORMAL
|
||||
help
|
||||
Do not clear the reboot count immediately after successful boot.
|
||||
Set to allow the payload to control normal/fallback image recovery.
|
||||
Note that it is the responsibility of the payload to reset the
|
||||
normal boot bit to 1 after each successsful boot.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue