From d292c4f0eae86b54c4784f6af124af223932aa7b Mon Sep 17 00:00:00 2001 From: Tim Chu Date: Mon, 12 Dec 2022 07:50:19 +0000 Subject: include/memory_info.h: Add soc_num to dimm_info struct Sometimes, server platforms may have more than one socket on server board. However, there's no field to store information about which socket the DIMM comes from in dimm_info structure. This patch adds soc_num field in dimm_info structure to store socket ID of the DIMM. Signed-off-by: Tim Chu Change-Id: I1b9e2b87fda2d7c32ecb8ce9d989795c8b869cea Reviewed-on: https://review.coreboot.org/c/coreboot/+/70662 Tested-by: build bot (Jenkins) Reviewed-by: Jonathan Zhang Reviewed-by: Marc Jones --- src/include/memory_info.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include') diff --git a/src/include/memory_info.h b/src/include/memory_info.h index 7534a8144e..59b82fd446 100644 --- a/src/include/memory_info.h +++ b/src/include/memory_info.h @@ -33,6 +33,10 @@ struct dimm_info { */ uint16_t ddr_frequency; uint8_t rank_per_dimm; + /* + * Socket-ID + */ + uint8_t soc_num; /* * Memory-Controller-ID */ -- cgit v1.2.3