cpu: Remove BOARD_MICROCODE_CBFS_GENERATE Kconfig option

Commit * bdafcfa Add the Intel FSP 206ax CPU core support
Introduced this option. This option was meant to have a board generate
a CBFS file containing microcode. However, microcode generation used to be
enabled by default when CPU_MICROCODE_IN_CBFS was selected.

The introduction of BOARD_MICROCODE_CBFS_GENERATE killed that automatic
default, which is not what we want. This option is misguided in the sense
that it tends to introduce a non-default which had been intentionally a
default. We now have to select two Kconfig options in order to generate
microcode in CBFS, meaning one option is redundant.

Change-Id: I3034833df1a9afa7d6d9d537484cb4ac89d30183
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://review.coreboot.org/4478
Tested-by: build bot (Jenkins)
This commit is contained in:
Alexandru Gagniuc 2013-12-04 16:57:52 -06:00
parent 55fa7f5c5f
commit f589909b91
2 changed files with 2 additions and 24 deletions

View File

@ -77,31 +77,10 @@ config CPU_MICROCODE_IN_CBFS
bool
default n
# The following options (BOARD_MICROCODE_CBFS_*) make it possible for the
# microcode configuration to be selected in the board-level Kconfig. If
# you want your platform's microcode to be generated during the build,
# add "select BOARD_MICROCODE_CBFS_GENERATE" to your mainboard's Kconfig.
# If you want to use an external microcode file, add "select
# BOARD_MICROCODE_CBFS_EXTERNAL" instead. If neither of these statements
# exists in your mainboard's configuration file (or if you include a
# "select BOARD_MICROCODE_CBFS_NONE" statement), then the ROM image will
# be built without any microcode.
config BOARD_MICROCODE_CBFS_NONE
bool
default y
config BOARD_MICROCODE_CBFS_GENERATE
bool
default n
config BOARD_MICROCODE_CBFS_EXTERNAL
bool
default n
choice
prompt "Include CPU microcode in CBFS" if ARCH_X86
default CPU_MICROCODE_CBFS_GENERATE if CPU_MICROCODE_IN_CBFS && BOARD_MICROCODE_CBFS_GENERATE
default CPU_MICROCODE_CBFS_EXTERNAL if CPU_MICROCODE_IN_CBFS && BOARD_MICROCODE_CBFS_EXTERNAL
default CPU_MICROCODE_CBFS_GENERATE if CPU_MICROCODE_IN_CBFS
default CPU_MICROCODE_CBFS_EXTERNAL if CPU_MICROCODE_IN_CBFS
default CPU_MICROCODE_CBFS_NONE
config CPU_MICROCODE_CBFS_GENERATE

View File

@ -33,7 +33,6 @@ config CPU_SPECIFIC_OPTIONS
select UDELAY_LAPIC
select SMM_TSEG
select CPU_MICROCODE_IN_CBFS if HAVE_FSP_BIN
select BOARD_MICROCODE_CBFS_GENERATE
select TSC_SYNC_MFENCE
config BOOTBLOCK_CPU_INIT