coreboot/src/soc/intel
Matt DeVillier 0da943ed99 soc/intel/meteorlake: Fix DDR5 channel mapping
This patch applies commit 0e7cf3d81d ("soc/intel/alderlake: Fix DDR5
channel mapping") to Meteor Lake.

DDR5 memory modules have two separate 32-bit channels (40-bit on ECC
memory modules), and the SPD info refers to one channel: the primary
bus width is 32 (or 40) bits and the "DIMM size" is halved. On Meteor
Lake, there are 2 memory controllers with 4 32-bit channels each for
DDR5. FSP has 16 positions to store SPD data, some of which are only
used with LPDDR4/LPDDR5.

To try to make things less confusing, FSP abstracts the DDR5 channels
so that the configuration works like on DDR4. This is done by copying
each DIMM's SPD data to the other half-channel. Thus, fix the wrapper
parameters for DDR5 accordingly.

Change-Id: I00cd1fba855a50422a68fa662df4ca8ed2c6458d
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/88636
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-08-03 01:28:33 +00:00
..
alderlake soc/intel/adl: Fill in SPD data on both channels of DDR5 memory 2025-08-02 16:49:28 +00:00
apollolake soc/intel/*: Select 'DRAM_SUPPORT_DDRx' as appropriate 2025-08-02 01:46:21 +00:00
baytrail device/dram: Rename 'USE_DDRx' config options 2025-07-25 17:03:02 +00:00
braswell soc/intel/*: Select 'DRAM_SUPPORT_DDRx' as appropriate 2025-08-02 01:46:21 +00:00
broadwell soc/intel/*: Select 'DRAM_SUPPORT_DDRx' as appropriate 2025-08-02 01:46:21 +00:00
cannonlake soc/intel/*: Select 'DRAM_SUPPORT_DDRx' as appropriate 2025-08-02 01:46:21 +00:00
common soc/common/smbus: Support reading SPD5 hubs for DDR5 2025-08-02 01:47:44 +00:00
denverton_ns soc/intel/*: Select 'DRAM_SUPPORT_DDRx' as appropriate 2025-08-02 01:46:21 +00:00
elkhartlake soc/intel/*: Select 'DRAM_SUPPORT_DDRx' as appropriate 2025-08-02 01:46:21 +00:00
jasperlake soc/intel/*: Select 'DRAM_SUPPORT_DDRx' as appropriate 2025-08-02 01:46:21 +00:00
meteorlake soc/intel/meteorlake: Fix DDR5 channel mapping 2025-08-03 01:28:33 +00:00
pantherlake soc/intel/pantherlake: Disable memory training progress bar 2025-08-02 04:57:03 +00:00
skylake soc/intel/*: Select 'DRAM_SUPPORT_DDRx' as appropriate 2025-08-02 01:46:21 +00:00
snowridge device/dram: Rename 'USE_DDRx' config options 2025-07-25 17:03:02 +00:00
tigerlake soc/intel/*: Select 'DRAM_SUPPORT_DDRx' as appropriate 2025-08-02 01:46:21 +00:00
xeon_sp soc/intel/*: Select 'DRAM_SUPPORT_DDRx' as appropriate 2025-08-02 01:46:21 +00:00
Makefile.mk