coreboot-kgpe-d16/src/mainboard/siemens
Werner Zeh 59a8355e5f mb/siemens/mc_ehl: Use SPD data from HW-Info in the first place
The preferred location for the SPD data on mc_ehl based boards is the
HW-Info data structure. Inside this structure there is a field of 128
bytes available for the SPD data. So in order to use it construct a
buffer in memory which is 256 bytes long (as FSP requests minimum 256
bytes for the SPD data) and where the upper 128 bytes are taken from
HW-Info holding the needed timing parameters for LPDDR4.
If there is a case where HW-Info is not accessible or where the
contained SPD data is not valid (by checking the CRC in HW-Info SPD)
fall back to fixed SPD data set in CBFS.

Change-Id: I2b6a1bde0306ba84f5214b876eaf76ca12d8f058
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58176
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
2021-10-12 23:56:26 +00:00
..
chili soc/intel/common: Use CHIPSET_LOCKDOWN_COREBOOT by default 2021-08-28 18:21:26 +00:00
mc_apl1 mb/*: Specify type of VARIANT_DIR once 2021-07-26 14:07:38 +00:00
mc_ehl mb/siemens/mc_ehl: Use SPD data from HW-Info in the first place 2021-10-12 23:56:26 +00:00
Kconfig
Kconfig.name