coreboot-kgpe-d16/src/soc
David Milosevic 6be82a4cd8 soc/intel: Add node_num to dimm_info struct + adjust dimm_info_fill
The dimm_info structure (defined in src/include/memory_info.h)
currently does not hold information about the DIMM's
node/controller ID.

This patch extends the dimm_info structure by adding a new field for
the node ID, called node_num. Also, adapt the dimm_info_fill()
function accordingly to populate the newly-added field.

Background: These changes are necessary for the Atlas mainboard, where
we are currently experiencing issues with the DIMMs device/bank
locator. Our 2 DIMMs share the same CHANNEL and DIMM ID but have a
distinct NODE ID. By looking at the smbios table we see
Channel-0-DIMM-0 for both DIMMs. Thus, we need their NODE IDs in order
to distinguish them.

This patch was tested by building and booting for the Alderlake-P
RVP board, which has the same DIMM slot configuration as the
Prodrive Atlas mainboard.

Signed-off-by: David Milosevic <David.Milosevic@9elements.com>
Change-Id: I6ffa5bdff0ba0e3c4a4a51f2419291fd1278cd68
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68525
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2022-11-17 17:51:46 +00:00
..
amd soc/amd/common/pi/def_callouts.c: Fix log messages 2022-11-17 13:23:09 +00:00
cavium soc: Add SPDX license headers to Makefiles 2022-10-31 03:27:13 +00:00
example/min86 soc: Add SPDX license headers to Makefiles 2022-10-31 03:27:13 +00:00
intel soc/intel: Add node_num to dimm_info struct + adjust dimm_info_fill 2022-11-17 17:51:46 +00:00
mediatek mb/google/geralt: Enable RTC for eventlog timestamps 2022-11-15 13:15:31 +00:00
nvidia soc/nvidia/tegra124: Fix building with clang 2022-11-10 15:33:32 +00:00
qualcomm Revert "soc/qualcomm/sc7280: Remove NVMe init" 2022-11-17 02:36:42 +00:00
rockchip soc/rockchip/rk3288/clock.c: Remove trailing semicolon 2022-09-30 23:12:15 +00:00
samsung lib/coreboot_table: Simplify API to set up lb_serial 2022-11-04 19:17:13 +00:00
sifive/fu540 soc/sifive/ux00ddr.h: Remove set but unused variables 2022-11-10 15:32:33 +00:00
ti /: Remove unused <inttypes.h> 2022-11-08 14:43:00 +00:00
ucb/riscv soc: Add SPDX license headers to Makefiles 2022-10-31 03:27:13 +00:00