8ce667e506
The SMM region is available for multipurpose use before the SMM handler is relocated. Provide a configurable sized region in the TSEG for use before the SMM handler is relocated. This feature is implemented by making the reserved size a Kconfig option. Also make the IED region a Kconfig option as well. Lastly add some sanity checking on the Kconfig options. Change-Id: Idd7fccf925a8787146906ac766b7878845c75935 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/2804 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
44 lines
665 B
Text
44 lines
665 B
Text
|
|
config CPU_INTEL_HASWELL
|
|
bool
|
|
|
|
if CPU_INTEL_HASWELL
|
|
|
|
config CPU_SPECIFIC_OPTIONS
|
|
def_bool y
|
|
select SMP
|
|
select SSE2
|
|
select UDELAY_LAPIC
|
|
select SMM_TSEG
|
|
select SMM_MODULES
|
|
select RELOCATABLE_MODULES
|
|
select CPU_MICROCODE_IN_CBFS
|
|
#select AP_IN_SIPI_WAIT
|
|
select TSC_SYNC_MFENCE
|
|
select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
|
|
|
|
config BOOTBLOCK_CPU_INIT
|
|
string
|
|
default "cpu/intel/haswell/bootblock.c"
|
|
|
|
config SERIAL_CPU_INIT
|
|
bool
|
|
default n
|
|
|
|
config SMM_TSEG_SIZE
|
|
hex
|
|
default 0x800000
|
|
|
|
config IED_REGION_SIZE
|
|
hex
|
|
default 0x400000
|
|
|
|
config SMM_RESERVED_SIZE
|
|
hex
|
|
default 0x100000
|
|
|
|
config MICROCODE_INCLUDE_PATH
|
|
string
|
|
default "src/cpu/intel/haswell"
|
|
|
|
endif
|