diff options
author | Tim Chu <Tim.Chu@quantatw.com> | 2022-12-12 07:50:19 +0000 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-01-08 01:33:23 +0000 |
commit | d292c4f0eae86b54c4784f6af124af223932aa7b (patch) | |
tree | e3c71c9f81bba6e98583b037276117ecc0154f09 /src/include | |
parent | 6b1e7dd06187789852f35ed6a658bd608803c30c (diff) |
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 <Tim.Chu@quantatw.com>
Change-Id: I1b9e2b87fda2d7c32ecb8ce9d989795c8b869cea
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70662
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/memory_info.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ -34,6 +34,10 @@ struct dimm_info { uint16_t ddr_frequency; uint8_t rank_per_dimm; /* + * Socket-ID + */ + uint8_t soc_num; + /* * Memory-Controller-ID */ uint8_t ctrlr_num; |