coreboot-kgpe-d16/src/mainboard
Matt DeVillier 8ead1dc875 src/lib: Add Kconfig option for SPD cache in FMAP
Currently, the option to cache DIMM SPD data in an FMAP region
is closely coupled to a single board (google/hatch) and requires
a custom FMAP to utilize.

Loosen this coupling by introducing a Kconfig option which adds
a correctly sized and aligned RW_SPD_CACHE region to the default FMAP.
Add a Kconfig option for the region name, replacing the existing hard-
coded instance in spd_cache.h. Change the inclusion of spd_cache.c to
use this new Kconfig, rather than the board-specific one currently used.
Lastly, have google/hatch select the new Kconfig when appropriate to
ensure no change in current functionality.

Test: build/boot WYVERN google/hatch variant with default FMAP, verify
FMAP contains RW_SPD_CACHE, verify SPD cache used via cbmem log.

Also tested on an out-of-tree Purism board.

Change-Id: Iee0e7acb01e238d7ed354e3dbab1207903e3a4fc
Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48520
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-14 08:23:41 +00:00
..
51nb soc/intel/{skl,cnl}: replace PM ACPI timer dt option by Kconfig 2020-11-13 17:32:37 +00:00
acer mb/**/cmos.layout: Indent everything with tabs 2020-11-23 09:56:20 +00:00
adlink
amd soc/amd/cezanne: add 0xcf9 reset 2020-12-11 17:44:42 +00:00
aopen
apple cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
asrock mb/**/cmos.layout: Drop copy-pasted SNB entries on non-SNB 2020-11-24 17:47:15 +00:00
asus cbfs: Enable CBFS mcache on most chipsets 2020-12-02 22:12:10 +00:00
bap mb/**/cmos.layout: Indent everything with tabs 2020-11-23 09:56:20 +00:00
biostar mb/**/cmos.layout: Indent everything with tabs 2020-11-23 09:56:20 +00:00
bostentech mb/**/cmos.layout: Indent everything with tabs 2020-11-23 09:56:20 +00:00
cavium
clevo mb/*: Remove SATA mode config for CNL based mainboards 2020-12-08 21:16:51 +00:00
compulab
dell cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
elmex mb/**/cmos.layout: Indent everything with tabs 2020-11-23 09:56:20 +00:00
emulation mb/emulation/x86: Add optional parallel_mp init support 2020-12-04 11:12:13 +00:00
example
facebook src: Remove redundant use of ACPI offset(0) 2020-12-03 00:05:52 +00:00
foxconn mb/**/cmos.layout: Indent everything with tabs 2020-11-23 09:56:20 +00:00
getac mb/**/cmos.layout: Indent everything with tabs 2020-11-23 09:56:20 +00:00
gigabyte cbfs: Enable CBFS mcache on most chipsets 2020-12-02 22:12:10 +00:00
gizmosphere mb/**/cmos.layout: Indent everything with tabs 2020-11-23 09:56:20 +00:00
google src/lib: Add Kconfig option for SPD cache in FMAP 2020-12-14 08:23:41 +00:00
hp mb/hp/z220_sff_workstation/Kconfig: Select MAINBOARD_USES_IFD_GBE_REGION 2020-12-03 23:20:43 +00:00
ibase mb/**/cmos.layout: Indent everything with tabs 2020-11-23 09:56:20 +00:00
intel mb/intel/ehlcrb: Remove unrelated Kconfig settings 2020-12-14 05:47:16 +00:00
jetway mb/**/cmos.layout: Indent everything with tabs 2020-11-23 09:56:20 +00:00
kontron mb/*: Remove SATA_AHCI config from SKL/KBL based devicetrees 2020-12-08 20:59:50 +00:00
lenovo src: Remove redundant use of ACPI offset(0) 2020-12-03 00:05:52 +00:00
libretrend soc/intel/{skl,cnl}: replace PM ACPI timer dt option by Kconfig 2020-11-13 17:32:37 +00:00
lippert src: Remove redundant use of ACPI offset(0) 2020-12-03 00:05:52 +00:00
msi mb/**/cmos.layout: Indent everything with tabs 2020-11-23 09:56:20 +00:00
ocp mb/ocp/deltalake: Update GPIO configurations according to schematics 2020-12-11 07:35:13 +00:00
opencellular
packardbell mb/**/cmos.layout: Indent everything with tabs 2020-11-23 09:56:20 +00:00
pcengines nb/amd: Deduplicate nb_common.h 2020-11-25 09:11:58 +00:00
portwell mb/**/cmos.layout: Indent everything with tabs 2020-11-23 09:56:20 +00:00
prodrive mb/prodrive/hermes: Generalise check_signature function 2020-12-05 13:43:28 +00:00
protectli soc/intel/{skl,cnl}: replace PM ACPI timer dt option by Kconfig 2020-11-13 17:32:37 +00:00
purism mb/*: Remove SATA mode config for CNL based mainboards 2020-12-08 21:16:51 +00:00
razer soc/intel/{skl,cnl}: replace PM ACPI timer dt option by Kconfig 2020-11-13 17:32:37 +00:00
roda mb/**/cmos.layout: Indent everything with tabs 2020-11-23 09:56:20 +00:00
samsung cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
sapphire mb/**/cmos.layout: Drop copy-pasted volume entries 2020-11-24 17:47:29 +00:00
scaleway mb/scaleway/tagada: GPIO on M.2 PCIe/SATA configure FSP HSIO lanes 2020-11-20 00:43:58 +00:00
siemens mb/siemens/chili/base: Fix state of PCI devices 2020-12-08 21:16:24 +00:00
sifive cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
supermicro mb/supermicro/x11ssm-f: disable unconnected and unused/strap-only pads 2020-12-11 18:52:38 +00:00
system76 mb/*: Remove SATA mode config for CNL based mainboards 2020-12-08 21:16:51 +00:00
ti
up
Kconfig