summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Wu <david_wu@quanta.corp-partner.google.com>2020-06-02 15:50:50 +0800
committerNick Vaccaro <nvaccaro@google.com>2020-07-07 04:19:10 +0000
commit887c1f1daf476320b7ed8ea59ffffa448450ce25 (patch)
tree3fd80a288eaf9ed3281524842d5c369be83a26ea /src
parentd964fea5a64d82d7f63ea7b39d6b4ea5e944d15c (diff)
downloadcoreboot-887c1f1daf476320b7ed8ea59ffffa448450ce25.tar.xz
mb/google/volteer/var/terrador: Add memory parts and generate DRAM IDs
This change adds memory parts used by variant terrador to mem_list_variant.txt and generates DRAM IDs allocated to these parts. Added memory 1. MT53E512M64D4NW-046 WT:E 2. MT53E1G64D8NW-046 WT:E BUG=b:159195585,b:152936481,b:156435028 TEST="emerge-volteer coreboot chromeos-bootimage", flash terrador and verify terrador boots to kernel. Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com> Change-Id: Ia14f76e9cb0df64961d46f4b61b39439e56f6a8c Reviewed-on: https://review.coreboot.org/c/coreboot/+/41995 Reviewed-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Nick Vaccaro <nvaccaro@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/volteer/variants/terrador/Makefile.inc2
-rw-r--r--src/mainboard/google/volteer/variants/terrador/memory/Makefile.inc6
-rw-r--r--src/mainboard/google/volteer/variants/terrador/memory/dram_id.generated.txt3
-rw-r--r--src/mainboard/google/volteer/variants/terrador/memory/mem_list_variant.txt2
4 files changed, 11 insertions, 2 deletions
diff --git a/src/mainboard/google/volteer/variants/terrador/Makefile.inc b/src/mainboard/google/volteer/variants/terrador/Makefile.inc
index 3a7557b548..b0bfc567ff 100644
--- a/src/mainboard/google/volteer/variants/terrador/Makefile.inc
+++ b/src/mainboard/google/volteer/variants/terrador/Makefile.inc
@@ -1,7 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only
-SPD_SOURCES =
-
bootblock-y += gpio.c
romstage-y += memory.c
diff --git a/src/mainboard/google/volteer/variants/terrador/memory/Makefile.inc b/src/mainboard/google/volteer/variants/terrador/memory/Makefile.inc
new file mode 100644
index 0000000000..fc2631cab7
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/terrador/memory/Makefile.inc
@@ -0,0 +1,6 @@
+## SPDX-License-Identifier: GPL-2.0-or-later
+## This is an auto-generated file. Do not edit!!
+
+SPD_SOURCES =
+SPD_SOURCES += spd-1.hex # ID = 0(0b0000) Parts = MT53E512M64D4NW-046 WT:E
+SPD_SOURCES += spd-3.hex # ID = 1(0b0001) Parts = MT53E1G64D8NW-046 WT:E
diff --git a/src/mainboard/google/volteer/variants/terrador/memory/dram_id.generated.txt b/src/mainboard/google/volteer/variants/terrador/memory/dram_id.generated.txt
new file mode 100644
index 0000000000..02e7443467
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/terrador/memory/dram_id.generated.txt
@@ -0,0 +1,3 @@
+DRAM Part Name ID to assign
+MT53E512M64D4NW-046 WT:E 0 (0000)
+MT53E1G64D8NW-046 WT:E 1 (0001)
diff --git a/src/mainboard/google/volteer/variants/terrador/memory/mem_list_variant.txt b/src/mainboard/google/volteer/variants/terrador/memory/mem_list_variant.txt
new file mode 100644
index 0000000000..b74da4a5f0
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/terrador/memory/mem_list_variant.txt
@@ -0,0 +1,2 @@
+MT53E512M64D4NW-046 WT:E
+MT53E1G64D8NW-046 WT:E