summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Huang <tony-huang@quanta.corp-partner.google.com>2023-04-20 15:03:35 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-04-22 16:26:53 +0000
commitaad882474164b458bc89696d42134386e817e007 (patch)
tree73611c41859e3fe43ba16ad01e02987a4d3bc899
parent1c25808f0bd5509eb438063c26b58134d8f54ba9 (diff)
mb/google/nissa/var/yavilla: Generate SPD ID to aligen with yaviks
Yavilla board memory id setting references to yaviks. This CL aligen it with yaviks. DRAM Part Name ID to assign MT62F512M32D2DR-031 WT:B 0 (0000) MT62F1G32D4DR-031 WT:B 1 (0001) H9JCNNNBK3MLYR-N6E 0 (0000) H58G56AK6BX069 2 (0010) K3LKBKB0BM-MGCP 2 (0010) H58G56BK7BX068 3 (0011) MT62F1G32D2DS-026 WT:B 3 (0011) K3KL8L80CM-MGCT 3 (0011) H58G66BK7BX067 4 (0100) MT62F2G32D4DS-026 WT:B 4 (0100) K3KL9L90CM-MGCT 4 (0100) H58G66AK6BX070 5 (0101) BUG=b:273791621 BRANCH=firmware-nissa-15217.B TEST=run part_id_gen to generate SPD id Change-Id: I4a5eb9e6e87a4adbc23f94f0eb92d5452c50e47c Signed-off-by: Tony Huang <tony-huang@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74584 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kevin Chiu <kevin.chiu.17802@gmail.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
-rw-r--r--src/mainboard/google/brya/variants/yavilla/memory/Makefile.inc7
-rw-r--r--src/mainboard/google/brya/variants/yavilla/memory/dram_id.generated.txt16
-rw-r--r--src/mainboard/google/brya/variants/yavilla/memory/mem_parts_used.txt4
3 files changed, 19 insertions, 8 deletions
diff --git a/src/mainboard/google/brya/variants/yavilla/memory/Makefile.inc b/src/mainboard/google/brya/variants/yavilla/memory/Makefile.inc
index a0e6c21cff..82e3814ee5 100644
--- a/src/mainboard/google/brya/variants/yavilla/memory/Makefile.inc
+++ b/src/mainboard/google/brya/variants/yavilla/memory/Makefile.inc
@@ -5,5 +5,8 @@
SPD_SOURCES =
SPD_SOURCES += spd/lp5/set-0/spd-1.hex # ID = 0(0b0000) Parts = MT62F512M32D2DR-031 WT:B, H9JCNNNBK3MLYR-N6E
-SPD_SOURCES += spd/lp5/set-0/spd-7.hex # ID = 1(0b0001) Parts = H58G56BK7BX068, MT62F1G32D2DS-026 WT:B, K3KL8L80CM-MGCT
-SPD_SOURCES += spd/lp5/set-0/spd-8.hex # ID = 2(0b0010) Parts = H58G66BK7BX067, MT62F2G32D4DS-026 WT:B, K3KL9L90CM-MGCT
+SPD_SOURCES += spd/lp5/set-0/spd-2.hex # ID = 1(0b0001) Parts = MT62F1G32D4DR-031 WT:B
+SPD_SOURCES += spd/lp5/set-0/spd-3.hex # ID = 2(0b0010) Parts = H58G56AK6BX069, K3LKBKB0BM-MGCP
+SPD_SOURCES += spd/lp5/set-0/spd-7.hex # ID = 3(0b0011) Parts = H58G56BK7BX068, MT62F1G32D2DS-026 WT:B, K3KL8L80CM-MGCT
+SPD_SOURCES += spd/lp5/set-0/spd-8.hex # ID = 4(0b0100) Parts = H58G66BK7BX067, MT62F2G32D4DS-026 WT:B, K3KL9L90CM-MGCT
+SPD_SOURCES += spd/lp5/set-0/spd-6.hex # ID = 5(0b0101) Parts = H58G66AK6BX070
diff --git a/src/mainboard/google/brya/variants/yavilla/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/yavilla/memory/dram_id.generated.txt
index 598edff0e4..425762c5b7 100644
--- a/src/mainboard/google/brya/variants/yavilla/memory/dram_id.generated.txt
+++ b/src/mainboard/google/brya/variants/yavilla/memory/dram_id.generated.txt
@@ -5,10 +5,14 @@
DRAM Part Name ID to assign
MT62F512M32D2DR-031 WT:B 0 (0000)
+MT62F1G32D4DR-031 WT:B 1 (0001)
H9JCNNNBK3MLYR-N6E 0 (0000)
-H58G56BK7BX068 1 (0001)
-MT62F1G32D2DS-026 WT:B 1 (0001)
-K3KL8L80CM-MGCT 1 (0001)
-H58G66BK7BX067 2 (0010)
-MT62F2G32D4DS-026 WT:B 2 (0010)
-K3KL9L90CM-MGCT 2 (0010)
+H58G56AK6BX069 2 (0010)
+K3LKBKB0BM-MGCP 2 (0010)
+H58G56BK7BX068 3 (0011)
+MT62F1G32D2DS-026 WT:B 3 (0011)
+K3KL8L80CM-MGCT 3 (0011)
+H58G66BK7BX067 4 (0100)
+MT62F2G32D4DS-026 WT:B 4 (0100)
+K3KL9L90CM-MGCT 4 (0100)
+H58G66AK6BX070 5 (0101)
diff --git a/src/mainboard/google/brya/variants/yavilla/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/yavilla/memory/mem_parts_used.txt
index 5ef418616f..607026b244 100644
--- a/src/mainboard/google/brya/variants/yavilla/memory/mem_parts_used.txt
+++ b/src/mainboard/google/brya/variants/yavilla/memory/mem_parts_used.txt
@@ -10,10 +10,14 @@
# Part Name
MT62F512M32D2DR-031 WT:B
+MT62F1G32D4DR-031 WT:B
H9JCNNNBK3MLYR-N6E
+H58G56AK6BX069
+K3LKBKB0BM-MGCP
H58G56BK7BX068
MT62F1G32D2DS-026 WT:B
K3KL8L80CM-MGCT
H58G66BK7BX067
MT62F2G32D4DS-026 WT:B
K3KL9L90CM-MGCT
+H58G66AK6BX070