coreboot/src/include/device
Matt DeVillier c731fd720c lib/spd_bin: Add support for DDR5 SPD parsing
Without explicit DDR5 support, print_spd_info() was decoding DDR5 DIMMs
with the DDR4 SPD layout, so banks, ranks, rows, columns, and module
size were all displaying incorrect values.

Add DDR5-specific decoding in spd_bin.c using JESD400-5 byte positions.
Define these offsets in ddr5.h and branch in each getter when
dram_type is DDR5 so printed SPD info matches the actual module.

Fix printk reporting DIMM module size to only report "per channel" when
the DIMM actually contains multiple channels.

TEST=build/boot on out-of-tree board Erying SRMJ4 and Starlabs Starbook
MTL. Verify DIMM info printed in cbmem console is correct.

Change-Id: I7f418db3f89c67c2a71b2c327bb511a78faf7300
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/91145
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2026-02-17 20:46:41 +00:00
..
azalia_codec {device/azalia_codec,mainboard}: Use node ID enums for Realtek ALC887 2025-10-01 13:25:14 +00:00
dram lib/spd_bin: Add support for DDR5 SPD parsing 2026-02-17 20:46:41 +00:00
azalia_device.h device: Introduce reworked azalia verb table 2025-09-28 18:18:14 +00:00
cardbus.h
device.h
fw_cfg.h
fw_cfg_if.h
gpio.h
i2c.h
i2c_bus.h
i2c_simple.h
mdio.h
mmio.h Merge coreboot and libpayload <endian.h> into commonlib 2025-12-11 08:43:16 +00:00
path.h cpu/x86/topology: Add tile and die ID CPU topology fields 2025-10-13 17:09:18 +00:00
pci.h
pci_def.h device: Rename PCI_EXP_SEC_CAP_ID -> PCI_CAP_ID_SEC_PCIE 2026-01-14 11:19:33 +00:00
pci_ehci.h
pci_ids.h tree: Remove Ice Lake PCI ID remnants 2026-01-28 13:36:23 +00:00
pci_mmio_cfg.h
pci_ops.h
pci_rom.h
pci_type.h
pciexp.h
pcix.h
pnp.h
pnp_def.h
pnp_ops.h
pnp_type.h
resource.h
smbus.h device/smbus: Add i2c_eeprom_read 2026-02-03 22:16:02 +00:00
smbus_def.h
smbus_host.h
soundwire.h
spi.h
usbc_mux.h
xhci.h