coreboot/src/soc/intel/broadwell
Kyösti Mälkki 0a4457ff44 lib/stage_cache: Refactor Kconfig options
Add explicit CBMEM_STAGE_CACHE option. Rename
CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM to TSEG_STAGE_CACHE.

Platforms with SMM_TSEG=y always need to implement
stage_cache_external_region(). It is allowed to return with a
region of size 0 to effectively disable the cache.

There are no provisions in Kconfig to degrade from
TSEG_STAGE_CACHE to CBMEM_STAGE_CACHE.

As a security measure CBMEM_STAGE_CACHE default is changed to
disabled. AGESA platforms without TSEG will experience slower
S3 resume speed unless they explicitly select the option.

Change-Id: Ibbdc701ea85b5a3208ca4e98c428b05b6d4e5340
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34664
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2019-08-08 04:50:33 +00:00
..
acpi
bootblock soc/intel/broadwell: Enable LPC/SIO setup in bootblock 2019-05-15 17:57:33 +00:00
include/soc soc/intel: Guard remaining SA_DEV_ROOT definition 2019-07-25 16:43:13 +00:00
romstage soc/intel: Use config_of() 2019-07-18 15:25:35 +00:00
acpi.c soc/intel: Use config_of_path(SA_DEVFN_ROOT) 2019-07-18 15:23:13 +00:00
adsp.c soc/intel: Use config_of() 2019-07-18 15:25:35 +00:00
chip.c
chip.h
cpu.c soc/intel/{broad,cannon,sky}: Fix possible out-of-bounds reads 2019-07-30 09:56:02 +00:00
cpu_info.c
ehci.c
elog.c
finalize.c soc/intel: Expand SA_DEV_ROOT for ramstage 2019-07-21 18:58:01 +00:00
gpio.c
hda.c
igd.c soc/intel: Use config_of() 2019-07-18 15:25:35 +00:00
iobp.c
Kconfig lib/stage_cache: Refactor Kconfig options 2019-08-08 04:50:33 +00:00
lpc.c soc/intel: Expand SA_DEV_ROOT for ramstage 2019-07-21 18:58:01 +00:00
Makefile.inc intel/baytrail,broadwell: Move stage cache support function 2019-08-03 17:34:40 +00:00
me.c soc/intel: Use config_of() 2019-07-18 15:25:35 +00:00
me_status.c
memmap.c intel/baytrail,broadwell: Move stage cache support function 2019-08-03 17:34:40 +00:00
minihd.c soc/intel/broadwell: Change variable back to u32 2019-07-22 20:36:56 +00:00
monotonic_timer.c
pch.c
pcie.c soc/intel: Use config_of() 2019-07-18 15:25:35 +00:00
pei_data.c
pmutil.c
ramstage.c Klocwork: Fix the Null pointer derefernce found by klocwork 2019-04-23 09:56:37 +00:00
refcode.c
sata.c soc/intel: Use config_of() 2019-07-18 15:25:35 +00:00
serialio.c soc/intel: Use config_of() 2019-07-18 15:25:35 +00:00
smbus.c
smbus_common.c
smi.c
smihandler.c
smmrelocate.c soc/intel: Expand SA_DEV_ROOT for ramstage 2019-07-21 18:58:01 +00:00
spi.c
systemagent.c soc/intel: Expand SA_DEV_ROOT for ramstage 2019-07-21 18:58:01 +00:00
tsc_freq.c
usb_debug.c
xhci.c