Michael Niewöhner submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved Michael Niewöhner: Looks good to me, approved
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>
---
M src/mainboard/google/volteer/variants/trondo/Makefile.inc
A src/mainboard/google/volteer/variants/trondo/memory/Makefile.inc
A src/mainboard/google/volteer/variants/trondo/memory/dram_id.generated.txt
A src/mainboard/google/volteer/variants/trondo/memory/mem_list_variant.txt
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 c9a128d..13269db 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 0000000..f40fba6
--- /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 0000000..8d472df
--- /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 0000000..5ddd52e
--- /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

To view, visit change 45164. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2e89ecaf73a30595ed48ac9ce94ccbd4bb7ed3c2
Gerrit-Change-Number: 45164
Gerrit-PatchSet: 2
Gerrit-Owner: David Wu <david_wu@quanta.corp-partner.google.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Michael Niewöhner
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: merged