From bf00401e8a4d58c2717ae0d9d45ea5a0114b0990 Mon Sep 17 00:00:00 2001 From: Shelley Chen Date: Mon, 22 Oct 2018 18:07:04 -0700 Subject: mb/google/poppy/variants/nami: Add field to identify single channel DDR Variants of Nami need to accommodate single channel DDR. Will use GPP_D10 on nami for identification. GPP_D10 will return 1 when device is using single channel DDR and 0 when using dual channel DDR. BUG=b:117194353 BRANCH=None TEST=dmidecode | grep Channel and make sure that the correct number of channels gets returned. Change-Id: If86ab2c5404c4e818ce496ea935227ab5e51730a Signed-off-by: Shelley Chen Reviewed-on: https://review.coreboot.org/29233 Tested-by: build bot (Jenkins) --- .../google/poppy/variants/baseboard/include/baseboard/variants.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mainboard/google/poppy/variants/baseboard') diff --git a/src/mainboard/google/poppy/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/poppy/variants/baseboard/include/baseboard/variants.h index 31370aed2b..4c26d5e086 100644 --- a/src/mainboard/google/poppy/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/poppy/variants/baseboard/include/baseboard/variants.h @@ -60,6 +60,9 @@ struct memory_params { /* The voltage offset applied to the SA in mV. 1000(mV) = Maximum */ uint16_t sa_voltage_offset_val; + + /* This would be set to true if only have single DDR channel */ + bool single_channel; }; void variant_memory_params(struct memory_params *p); -- cgit v1.2.3