summaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy/variants/baseboard
diff options
context:
space:
mode:
authorShelley Chen <shchen@google.com>2018-10-22 18:07:04 -0700
committerShelley Chen <shchen@google.com>2018-10-29 16:49:43 +0000
commitbf00401e8a4d58c2717ae0d9d45ea5a0114b0990 (patch)
tree0e47b40612ca4b79d09e6f9426530622eedeb00d /src/mainboard/google/poppy/variants/baseboard
parent6cc937e687d8761bcdf26a0b5a122c392238d10c (diff)
downloadcoreboot-bf00401e8a4d58c2717ae0d9d45ea5a0114b0990.tar.xz
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 <shchen@google.com> Reviewed-on: https://review.coreboot.org/29233 Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/poppy/variants/baseboard')
-rw-r--r--src/mainboard/google/poppy/variants/baseboard/include/baseboard/variants.h3
1 files changed, 3 insertions, 0 deletions
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);