summaryrefslogtreecommitdiff
path: root/src/mainboard/google/volteer
diff options
context:
space:
mode:
authorNick Vaccaro <nvaccaro@google.com>2020-08-12 18:42:55 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-08-31 06:31:37 +0000
commit8605782c2b0cc3f9fa3b8c8edbb1f0ff8dd89022 (patch)
tree876d72473fba8cbb03b40b9413194940ce001ce2 /src/mainboard/google/volteer
parentbb86e17e2d4fde9440f74ca3409321649de5b7b0 (diff)
downloadcoreboot-8605782c2b0cc3f9fa3b8c8edbb1f0ff8dd89022.tar.xz
mb/google/volteer: add generic DDR4 SPDs for Eldrid
Add Makefile.inc to include six generic DDR4 SPDs for the following parts for Eldrid: DRAM Part Name DRAM ID to assign H5AN8G6NDJR-XNC 0 (0000) MT40A512M16TB-062E:J 1 (0001) H5ANAG6NCMR-XNC 2 (0010) K4A8G165WC-BCWE 0 (0000) K4AAG165WA-BCWE 3 (0011) MT40A1G16KD-062E:E 3 (0011) Add mem_list_variant.txt as a manifest of eldrid's DRAM parts for use by gen_spd, the generic DD4 SPD generation tool. Add dram_id_generated.txt to specify DRAM ID strap settings. NOTE that Eldrid specified DRAM IDs for the first three parts to be 0 though 2 (i.e. no combined DRAM IDs for parts that use the same SPD). BUG=b:161772961 TEST="FW_NAME=eldrid emerge-volteer coreboot" and verify it builds without error. Change-Id: Ica62e299ed40e60c2d5928b29ead5d2205b1af66 Signed-off-by: Nick Vaccaro <nvaccaro@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44272 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/volteer')
-rw-r--r--src/mainboard/google/volteer/variants/eldrid/memory/Makefile.inc8
-rw-r--r--src/mainboard/google/volteer/variants/eldrid/memory/dram_id.generated.txt7
-rw-r--r--src/mainboard/google/volteer/variants/eldrid/memory/mem_list_variant.txt6
3 files changed, 21 insertions, 0 deletions
diff --git a/src/mainboard/google/volteer/variants/eldrid/memory/Makefile.inc b/src/mainboard/google/volteer/variants/eldrid/memory/Makefile.inc
new file mode 100644
index 0000000000..cfc038e47a
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/eldrid/memory/Makefile.inc
@@ -0,0 +1,8 @@
+## SPDX-License-Identifier: GPL-2.0-or-later
+## This is an auto-generated file. Do not edit!!
+
+SPD_SOURCES =
+SPD_SOURCES += ddr4-spd-1.hex # ID = 0(0b0000) Parts = H5AN8G6NDJR-XNC, K4A8G165WC-BCWE
+SPD_SOURCES += ddr4-spd-1.hex # ID = 1(0b0001) Parts = MT40A512M16TB-062E:J
+SPD_SOURCES += ddr4-spd-2.hex # ID = 2(0b0010) Parts = H5ANAG6NCMR-XNC
+SPD_SOURCES += ddr4-spd-7.hex # ID = 3(0b0011) Parts = K4AAG165WA-BCWE, MT40A1G16KD-062E:E
diff --git a/src/mainboard/google/volteer/variants/eldrid/memory/dram_id.generated.txt b/src/mainboard/google/volteer/variants/eldrid/memory/dram_id.generated.txt
new file mode 100644
index 0000000000..867eca8e7d
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/eldrid/memory/dram_id.generated.txt
@@ -0,0 +1,7 @@
+DRAM Part Name ID to assign
+H5AN8G6NDJR-XNC 0 (0000)
+MT40A512M16TB-062E:J 1 (0001)
+H5ANAG6NCMR-XNC 2 (0010)
+K4A8G165WC-BCWE 0 (0000)
+K4AAG165WA-BCWE 3 (0011)
+MT40A1G16KD-062E:E 3 (0011)
diff --git a/src/mainboard/google/volteer/variants/eldrid/memory/mem_list_variant.txt b/src/mainboard/google/volteer/variants/eldrid/memory/mem_list_variant.txt
new file mode 100644
index 0000000000..36e0f6829e
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/eldrid/memory/mem_list_variant.txt
@@ -0,0 +1,6 @@
+H5AN8G6NDJR-XNC,0
+MT40A512M16TB-062E:J,1
+H5ANAG6NCMR-XNC,2
+K4A8G165WC-BCWE
+K4AAG165WA-BCWE
+MT40A1G16KD-062E:E