summaryrefslogtreecommitdiff
path: root/src/mainboard/google/drallion/variants
diff options
context:
space:
mode:
authorIan Feng <ian_feng@compal.corp-partner.google.com>2020-02-06 18:42:31 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-02-09 19:26:01 +0000
commit7bac50e82428b3e94c08787a366d8230ec16c046 (patch)
treef4a5e6850c73aed94caa5b51ae6b06d4cd96ac1f /src/mainboard/google/drallion/variants
parentbfe0948f7d2f3df3c0f72e3e688527f0440c6591 (diff)
downloadcoreboot-7bac50e82428b3e94c08787a366d8230ec16c046.tar.xz
mb/google/drallion: Add new SPD files for drallion
Add new SPD files for drallion: 1. Hynix H5AN8G6NDJR-XNC 2. Samung K4AAG165WA-BCWE 3. Samung K4A8G165WC-BCWE BUG=b:148642500 TEST=Compile successfully and check SPD info in cbmem log. Signed-off-by: Ian Feng <ian_feng@compal.corp-partner.google.com> Change-Id: I0e9b444f6f1e0c7e1da197fbd2e70e686568ab47 Reviewed-on: https://review.coreboot.org/c/coreboot/+/38731 Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com> Reviewed-by: Mathew King <mathewk@chromium.org> Reviewed-by: Bora Guvendik <bora.guvendik@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/drallion/variants')
-rw-r--r--src/mainboard/google/drallion/variants/drallion/Makefile.inc3
-rw-r--r--src/mainboard/google/drallion/variants/drallion/memory.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/mainboard/google/drallion/variants/drallion/Makefile.inc b/src/mainboard/google/drallion/variants/drallion/Makefile.inc
index 954c9d59cf..b584a91a27 100644
--- a/src/mainboard/google/drallion/variants/drallion/Makefile.inc
+++ b/src/mainboard/google/drallion/variants/drallion/Makefile.inc
@@ -23,6 +23,9 @@ SPD_SOURCES += hynix_dimm_H5ANAG6NCMR-VKC # 0b11001
SPD_SOURCES += samsung_dimm_K4A8G165WC-BCTD # 0b10011
SPD_SOURCES += samsung_dimm_K4AAG165WB-MCTD # 0b11011
SPD_SOURCES += micron_dimm_MT40A1G16KD-062EE # 0b11010
+SPD_SOURCES += hynix_dimm_H5AN8G6NDJR-XNC # 0b01100
+SPD_SOURCES += samsung_dimm_K4AAG165WA-BCWE # 0b00000
+SPD_SOURCES += samsung_dimm_K4A8G165WC-BCWE # 0b00100
bootblock-y += gpio.c
ramstage-y += gpio.c
diff --git a/src/mainboard/google/drallion/variants/drallion/memory.c b/src/mainboard/google/drallion/variants/drallion/memory.c
index 9c4135dfdc..a56fb53a14 100644
--- a/src/mainboard/google/drallion/variants/drallion/memory.c
+++ b/src/mainboard/google/drallion/variants/drallion/memory.c
@@ -21,8 +21,8 @@
/* Use spd_index array to save mem_id */
static const int spd_index[32] = {
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
+ 10, 0, 0, 0, 11, 0, 0, 0,
+ 0, 0, 0, 0, 9, 0, 0, 0,
0, 4, 3, 6, 1, 0, 0, 0,
0, 5, 8, 7, 2, 0, 0, 0
};