coreboot/src/soc/intel/common
Srinidhi N Kaushik 4eb489fb0f soc/intel/common/fast_spi: Add support for configuring MTRRs
This change enables caching for extended BIOS region.
Currently, caching is enabled for the standard BIOS region
upto a maximum of 16MiB using fast_spi_cache_bios_region,
used the same function to add the support for caching for
extended BIOS region as well.

Changes include:
1. Add a new helper function fast_spi_cache_ext_bios_window()
which calls fast_spi_ext_bios_cache_range() which calls
fast_spi_get_ext_bios_window() to get details about the
extended BIOS window from the boot media map and checks for
allignment and set mtrr.
2. Make a call to fast_spi_cache_ext_bios_region() from
fast_spi_cache_bios_region ().
3. Add new helper function fast_spi_cache_ext_bios_postcar()
which does caching ext BIOS region in postcar similar to 1.
4. If the extended window is used, then it enables caching
for this window similar to how it is done for the standard
window.

BUG=b:171534504

Signed-off-by: Srinidhi N Kaushik <srinidhi.n.kaushik@intel.com>
Change-Id: I9711f110a35a167efe3a4c912cf46c63c0812779
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47991
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-12-08 22:57:54 +00:00
..
acpi soc/intel/common/acpi,mb/*: replace the two obsolete LPID with PEPD 2020-11-20 00:12:09 +00:00
basecode soc/intel/common: Keep common non-IP code block inside basecode 2020-09-21 16:16:46 +00:00
block soc/intel/common/fast_spi: Add support for configuring MTRRs 2020-12-08 22:57:54 +00:00
pch soc/intel/common/dmi: Add DMI driver support 2020-12-08 22:56:31 +00:00
acpi.h treewide: replace GPLv2 long form headers with SPDX header 2020-05-06 22:20:57 +00:00
acpi_wake_source.c ACPI: Drop typedef global_nvs_t 2020-06-30 09:19:10 +00:00
fsp_reset.c soc/intel/common: Create common Intel FSP reset code block 2020-11-02 10:43:40 +00:00
hda_verb.c {soc/intel/common,sb/intel/lynxpoint}/hda_verb.c: Reduce differences 2020-08-17 06:59:24 +00:00
hda_verb.h soc/intel/common: Move common HDA registers to <device/azalia_device.h> 2020-08-17 06:44:04 +00:00
Kconfig.common soc/intel: Configure PAVP at compile-time 2020-10-12 23:11:04 +00:00
Makefile.inc soc/intel/common: Create common Intel FSP reset code block 2020-11-02 10:43:40 +00:00
mma.c cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
mma.h src: Remove unused 'include <stdint.h> 2020-07-14 16:11:10 +00:00
nhlt.c ACPI: Drop typedef global_nvs_t 2020-06-30 09:19:10 +00:00
reset.c Revert "soc/intel: Refactor do_global_reset() function" 2020-09-22 05:13:39 +00:00
reset.h Revert "soc/intel: Refactor do_global_reset() function" 2020-09-22 05:13:39 +00:00
smbios.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smbios.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
tpm_tis.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
vbt.c src: Remove unused 'include <bootstate.h>' 2020-06-02 07:40:35 +00:00
vbt.h src: Remove unused 'include <types.h>' 2020-07-14 16:10:17 +00:00