summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorChristian Walter <christian.walter@9elements.com>2019-05-28 10:37:24 +0200
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2019-06-06 11:32:52 +0000
commitf97232236891bc8f5c816a96c98807a0f2449234 (patch)
treed837ce5e4798e39b9b5df28a265f4ad6141200df /src/arch
parentfa36c6c3eed187f3ebc912eede900c8889df481d (diff)
downloadcoreboot-f97232236891bc8f5c816a96c98807a0f2449234.tar.xz
src/soc/intel/common/smbios: Add addtional infos to dimm_info
Add ECC Support and VDD Voltage to dimm_info struct. Now Bus Width and ECCSupport will be propagated correctly in SMBIOS Type 17 Entry. Change-Id: Ic6f0d4b223f1490ec7aa71a6105603635b514021 Signed-off-by: Christian Walter <christian.walter@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33031 Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/smbios.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c
index bf627f280f..54c2b09c4a 100644
--- a/src/arch/x86/smbios.c
+++ b/src/arch/x86/smbios.c
@@ -372,6 +372,11 @@ static int create_smbios_type17_for_dimm(struct dimm_info *dimm,
dimm->module_part_number[DIMM_INFO_PART_NUMBER_SIZE - 1] = '\0';
smbios_fill_dimm_part_number((char *)dimm->module_part_number, t);
+ /* Voltage Levels */
+ t->configured_voltage = dimm->vdd_voltage;
+ t->minimum_voltage = dimm->vdd_voltage;
+ t->maximum_voltage = dimm->vdd_voltage;
+
/* Synchronous = 1 */
t->type_detail = 0x0080;
/* no handle for error information */