summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Wu <david_wu@quanta.corp-partner.google.com>2020-09-08 13:33:17 +0800
committerMichael Niewöhner <c0d3z3r0@review.coreboot.org>2020-09-09 14:58:07 +0000
commit43e601312b01b1d62a4f30c48d22ce11246ce79a (patch)
tree8d43586a04d1d403e5a42370fed413a89ab1f334
parentd04c06b472495bce49af0e171c333de26e8fd86a (diff)
downloadcoreboot-43e601312b01b1d62a4f30c48d22ce11246ce79a.tar.xz
mb/google/volteer/var/trondo: Add memory parts and generate DRAM IDs
Add memory parts and generate DRAM IDs for trondo. BUG=None TEST=FW_NAME=trondo emerge-volteer coreboot chromeos-bootimage Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com> Change-Id: I2e89ecaf73a30595ed48ac9ce94ccbd4bb7ed3c2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45164 Reviewed-by: Michael Niewöhner Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/volteer/variants/trondo/Makefile.inc2
-rw-r--r--src/mainboard/google/volteer/variants/trondo/memory/Makefile.inc7
-rw-r--r--src/mainboard/google/volteer/variants/trondo/memory/dram_id.generated.txt7
-rw-r--r--src/mainboard/google/volteer/variants/trondo/memory/mem_list_variant.txt6
4 files changed, 20 insertions, 2 deletions
diff --git a/src/mainboard/google/volteer/variants/trondo/Makefile.inc b/src/mainboard/google/volteer/variants/trondo/Makefile.inc
index c9a128d72a..13269db5ec 100644
--- a/src/mainboard/google/volteer/variants/trondo/Makefile.inc
+++ b/src/mainboard/google/volteer/variants/trondo/Makefile.inc
@@ -1,7 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only
-SPD_SOURCES =
-
bootblock-y += gpio.c
ramstage-y += gpio.c
diff --git a/src/mainboard/google/volteer/variants/trondo/memory/Makefile.inc b/src/mainboard/google/volteer/variants/trondo/memory/Makefile.inc
new file mode 100644
index 0000000000..f40fba6751
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/trondo/memory/Makefile.inc
@@ -0,0 +1,7 @@
+## SPDX-License-Identifier: GPL-2.0-or-later
+## This is an auto-generated file. Do not edit!!
+
+SPD_SOURCES =
+SPD_SOURCES += lp4x-spd-1.hex # ID = 0(0b0000) Parts = MT53E512M32D2NP-046 WT:E, H9HCNNNBKMMLXR-NEE, K4U6E3S4AA-MGCR
+SPD_SOURCES += lp4x-spd-4.hex # ID = 1(0b0001) Parts = MT53E1G32D2NP-046 WT:A
+SPD_SOURCES += lp4x-spd-3.hex # ID = 2(0b0010) Parts = H9HCNNNCPMMLXR-NEE, K4UBE3D4AA-MGCR
diff --git a/src/mainboard/google/volteer/variants/trondo/memory/dram_id.generated.txt b/src/mainboard/google/volteer/variants/trondo/memory/dram_id.generated.txt
new file mode 100644
index 0000000000..8d472df850
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/trondo/memory/dram_id.generated.txt
@@ -0,0 +1,7 @@
+DRAM Part Name ID to assign
+MT53E512M32D2NP-046 WT:E 0 (0000)
+H9HCNNNBKMMLXR-NEE 0 (0000)
+K4U6E3S4AA-MGCR 0 (0000)
+MT53E1G32D2NP-046 WT:A 1 (0001)
+H9HCNNNCPMMLXR-NEE 2 (0010)
+K4UBE3D4AA-MGCR 2 (0010)
diff --git a/src/mainboard/google/volteer/variants/trondo/memory/mem_list_variant.txt b/src/mainboard/google/volteer/variants/trondo/memory/mem_list_variant.txt
new file mode 100644
index 0000000000..5ddd52ebba
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/trondo/memory/mem_list_variant.txt
@@ -0,0 +1,6 @@
+MT53E512M32D2NP-046 WT:E
+H9HCNNNBKMMLXR-NEE
+K4U6E3S4AA-MGCR
+MT53E1G32D2NP-046 WT:A
+H9HCNNNCPMMLXR-NEE
+K4UBE3D4AA-MGCR