mb/google/brya/variants/anraggar: Generate 13 RAM IDs
Vendor DRAM Part Name Type
MICRON MT62F512M32D2DR-031 WT:B LPD5
HYNIX H9JCNNNBK3MLYR-N6E LPD5
HYNIX H9JCNNNCP3MLYR-N6E LPD5
MICRON MT62F1G32D4DR-031 WT:B LPD5
HYNIX H9JCNNNFA5MLYR-N6E LPD5
MICRON MT62F2G32D8DR-031 WT:B LPD5
SAMSUNG K3KL6L60GM-MGCT LPD5x
MICRON MT62F1G32D2DS-026 WT:B LPD5x
SAMSUNG K3KL8L80CM-MGCT LPD5x
HYNIX H58G56BK7BX068 LPD5x
MICRON MT62F2G32D4DS-026 WT:B LPD5x
SAMSUNG K3KL9L90CM-MGCT LPD5x
HYNIX H58G66BK7BX067 LPD5x
BUG=b:304920262
TEST=Run part_id_gen tool without any errors
Change-Id: I2968c2f0b9cdd55235f9833a3d3cdb3c83b8601b
Signed-off-by: wuweimin <wuweimin@huaqin.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78389
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <ericllai@google.com>
diff --git a/src/mainboard/google/brya/variants/anraggar/memory/Makefile.inc b/src/mainboard/google/brya/variants/anraggar/memory/Makefile.inc
index eace2e4..ab15021 100644
--- a/src/mainboard/google/brya/variants/anraggar/memory/Makefile.inc
+++ b/src/mainboard/google/brya/variants/anraggar/memory/Makefile.inc
@@ -1,5 +1,12 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# This is an auto-generated file. Do not edit!!
-# Add memory parts in mem_parts_used.txt and run spd_tools to regenerate.
+# Generated by:
+# util/spd_tools/bin/part_id_gen ADL lp5 src/mainboard/google/brya/variants/anraggar/memory src/mainboard/google/brya/variants/anraggar/memory/mem_parts_used.txt
-SPD_SOURCES = placeholder
+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-2.hex # ID = 1(0b0001) Parts = H9JCNNNCP3MLYR-N6E, MT62F1G32D4DR-031 WT:B
+SPD_SOURCES += spd/lp5/set-0/spd-4.hex # ID = 2(0b0010) Parts = H9JCNNNFA5MLYR-N6E, MT62F2G32D8DR-031 WT:B
+SPD_SOURCES += spd/lp5/set-0/spd-9.hex # ID = 3(0b0011) Parts = K3KL6L60GM-MGCT
+SPD_SOURCES += spd/lp5/set-0/spd-7.hex # ID = 4(0b0100) Parts = MT62F1G32D2DS-026 WT:B, K3KL8L80CM-MGCT, H58G56BK7BX068
+SPD_SOURCES += spd/lp5/set-0/spd-8.hex # ID = 5(0b0101) Parts = MT62F2G32D4DS-026 WT:B, K3KL9L90CM-MGCT, H58G66BK7BX067
diff --git a/src/mainboard/google/brya/variants/anraggar/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/anraggar/memory/dram_id.generated.txt
index fa24790..2fe24b7 100644
--- a/src/mainboard/google/brya/variants/anraggar/memory/dram_id.generated.txt
+++ b/src/mainboard/google/brya/variants/anraggar/memory/dram_id.generated.txt
@@ -1 +1,19 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# This is an auto-generated file. Do not edit!!
+# Generated by:
+# util/spd_tools/bin/part_id_gen ADL lp5 src/mainboard/google/brya/variants/anraggar/memory src/mainboard/google/brya/variants/anraggar/memory/mem_parts_used.txt
+
DRAM Part Name ID to assign
+MT62F512M32D2DR-031 WT:B 0 (0000)
+H9JCNNNBK3MLYR-N6E 0 (0000)
+H9JCNNNCP3MLYR-N6E 1 (0001)
+MT62F1G32D4DR-031 WT:B 1 (0001)
+H9JCNNNFA5MLYR-N6E 2 (0010)
+MT62F2G32D8DR-031 WT:B 2 (0010)
+K3KL6L60GM-MGCT 3 (0011)
+MT62F1G32D2DS-026 WT:B 4 (0100)
+K3KL8L80CM-MGCT 4 (0100)
+H58G56BK7BX068 4 (0100)
+MT62F2G32D4DS-026 WT:B 5 (0101)
+K3KL9L90CM-MGCT 5 (0101)
+H58G66BK7BX067 5 (0101)
diff --git a/src/mainboard/google/brya/variants/anraggar/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/anraggar/memory/mem_parts_used.txt
index 9621137..95a30a5 100644
--- a/src/mainboard/google/brya/variants/anraggar/memory/mem_parts_used.txt
+++ b/src/mainboard/google/brya/variants/anraggar/memory/mem_parts_used.txt
@@ -9,3 +9,16 @@
# See util/spd_tools/README.md for more details and instructions.
# Part Name
+MT62F512M32D2DR-031 WT:B
+H9JCNNNBK3MLYR-N6E
+H9JCNNNCP3MLYR-N6E
+MT62F1G32D4DR-031 WT:B
+H9JCNNNFA5MLYR-N6E
+MT62F2G32D8DR-031 WT:B
+K3KL6L60GM-MGCT
+MT62F1G32D2DS-026 WT:B
+K3KL8L80CM-MGCT
+H58G56BK7BX068
+MT62F2G32D4DS-026 WT:B
+K3KL9L90CM-MGCT
+H58G66BK7BX067