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>
54 lines
1.2 KiB
Plaintext
54 lines
1.2 KiB
Plaintext
##
|
|
## This file is part of the coreboot project.
|
|
##
|
|
## Copyright (C) 2007-2009 coresystems GmbH
|
|
## Copyright (C) 2015 Damien Zammit <damien@zamaudio.com>
|
|
##
|
|
## This program is free software; you can redistribute it and/or modify
|
|
## it under the terms of the GNU General Public License as published by
|
|
## the Free Software Foundation; version 2 of the License.
|
|
##
|
|
## This program is distributed in the hope that it will be useful,
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
##
|
|
|
|
config NORTHBRIDGE_INTEL_X4X
|
|
bool
|
|
|
|
if NORTHBRIDGE_INTEL_X4X
|
|
|
|
config NORTHBRIDGE_SPECIFIC_OPTIONS # dummy
|
|
def_bool y
|
|
select HAVE_DEBUG_RAM_SETUP
|
|
select LAPIC_MONOTONIC_TIMER
|
|
select VGA
|
|
select INTEL_GMA_ACPI
|
|
select CACHE_MRC_SETTINGS
|
|
select POSTCAR_STAGE
|
|
select POSTCAR_CONSOLE
|
|
select PARALLEL_MP
|
|
|
|
config CBFS_SIZE
|
|
hex
|
|
default 0x100000 if !SOUTHBRIDGE_INTEL_I82801GX
|
|
|
|
config BOOTBLOCK_NORTHBRIDGE_INIT
|
|
string
|
|
default "northbridge/intel/x4x/bootblock.c"
|
|
|
|
config VGA_BIOS_ID
|
|
string
|
|
default "8086,2e32"
|
|
|
|
config MMCONF_BASE_ADDRESS
|
|
hex
|
|
default 0xe0000000
|
|
|
|
config SMM_RESERVED_SIZE
|
|
hex
|
|
default 0x100000
|
|
|
|
endif
|