summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorRob Barnes <robbarnes@google.com>2021-12-06 13:27:01 -0700
committerFelix Held <felix-coreboot@felixheld.de>2021-12-08 20:29:15 +0000
commitd5ea92078551de4de78debfd31dcef43f33fdfb0 (patch)
treea80b3625d177277c3b57891880f21c4778f79da4 /src/mainboard/google
parent59d64f06be8eb5f80acfb0b53e7accaf05c1bec8 (diff)
mb/google/guybrush: Combine mem_parts_used.txt
Combine guybrush mem_parts_used.txt across guybrush variants. Guybrush reference memory parts is used as the base, then Nipperkin memory parts were appended, followed by DeWatt memory parts. Duplicates were removed. The memory id mapping was not affected on guybrush reference and Nipperkin. DeWatt memory id mapping was affected, DeWatt boards will need to be adjusted. This works around a limitation in APCB, which currently only supports one set of memory SPDs. BUG=b:209486790, b:204151079 BRANCH=None TEST=Boot guybrush and nipperkin Change-Id: Ie17025e092f2b9397afea33fce285e80ef5dc995 Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59923 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/guybrush/variants/dewatt/memory/Makefile.inc8
-rw-r--r--src/mainboard/google/guybrush/variants/dewatt/memory/dram_id.generated.txt18
-rw-r--r--src/mainboard/google/guybrush/variants/dewatt/memory/mem_parts_used.txt4
-rw-r--r--src/mainboard/google/guybrush/variants/guybrush/memory/Makefile.inc4
-rw-r--r--src/mainboard/google/guybrush/variants/guybrush/memory/dram_id.generated.txt7
-rw-r--r--src/mainboard/google/guybrush/variants/guybrush/memory/mem_parts_used.txt7
-rw-r--r--src/mainboard/google/guybrush/variants/nipperkin/memory/Makefile.inc4
-rw-r--r--src/mainboard/google/guybrush/variants/nipperkin/memory/dram_id.generated.txt5
-rw-r--r--src/mainboard/google/guybrush/variants/nipperkin/memory/mem_parts_used.txt9
9 files changed, 40 insertions, 26 deletions
diff --git a/src/mainboard/google/guybrush/variants/dewatt/memory/Makefile.inc b/src/mainboard/google/guybrush/variants/dewatt/memory/Makefile.inc
index 069b2eb0bf..26f27d5900 100644
--- a/src/mainboard/google/guybrush/variants/dewatt/memory/Makefile.inc
+++ b/src/mainboard/google/guybrush/variants/dewatt/memory/Makefile.inc
@@ -1,8 +1,10 @@
# 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 CZN lp4x src/mainboard/google/guybrush/variants/dewatt/memory src/mainboard/google/guybrush/variants/dewatt/memory/mem_parts_used.txt
+# util/spd_tools/bin/part_id_gen CZN lp4x src/mainboard/google/guybrush/variants/dewatt/memory src/mainboard/google/guybrush/variants/guybrush/memory/mem_parts_used.txt
SPD_SOURCES =
-SPD_SOURCES += spd/lp4x/set-1/spd-1.hex # ID = 0(0b0000) Parts = K4U6E3S4AB-MGCL, H54G46CYRBX267, MT53E512M32D1NP-046 WT:B
-SPD_SOURCES += spd/lp4x/set-1/spd-3.hex # ID = 1(0b0001) Parts = MT53E1G32D2NP-046 WT:B
+SPD_SOURCES += spd/lp4x/set-1/spd-4.hex # ID = 0(0b0000) Parts = MT53E1G32D2NP-046 WT:A
+SPD_SOURCES += spd/lp4x/set-1/spd-1.hex # ID = 1(0b0001) Parts = MT53E512M32D2NP-046 WT:F, H9HCNNNBKMMLXR-NEE, MT53E512M32D2NP-046 WT:E, K4U6E3S4AA-MGCR, K4U6E3S4AB-MGCL, H54G46CYRBX267, MT53E512M32D1NP-046 WT:B
+SPD_SOURCES += spd/lp4x/set-1/spd-9.hex # ID = 2(0b0010) Parts = NT6AP256T32AV-J1
+SPD_SOURCES += spd/lp4x/set-1/spd-3.hex # ID = 3(0b0011) Parts = MT53E1G32D2NP-046 WT:B, H9HCNNNCPMMLXR-NEE, K4UBE3D4AA-MGCR
diff --git a/src/mainboard/google/guybrush/variants/dewatt/memory/dram_id.generated.txt b/src/mainboard/google/guybrush/variants/dewatt/memory/dram_id.generated.txt
index 5ce9e79cdc..6a7b18bdb5 100644
--- a/src/mainboard/google/guybrush/variants/dewatt/memory/dram_id.generated.txt
+++ b/src/mainboard/google/guybrush/variants/dewatt/memory/dram_id.generated.txt
@@ -1,10 +1,18 @@
# 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 CZN lp4x src/mainboard/google/guybrush/variants/dewatt/memory src/mainboard/google/guybrush/variants/dewatt/memory/mem_parts_used.txt
+# util/spd_tools/bin/part_id_gen CZN lp4x src/mainboard/google/guybrush/variants/dewatt/memory src/mainboard/google/guybrush/variants/guybrush/memory/mem_parts_used.txt
DRAM Part Name ID to assign
-K4U6E3S4AB-MGCL 0 (0000)
-H54G46CYRBX267 0 (0000)
-MT53E1G32D2NP-046 WT:B 1 (0001)
-MT53E512M32D1NP-046 WT:B 0 (0000)
+MT53E1G32D2NP-046 WT:A 0 (0000)
+MT53E512M32D2NP-046 WT:F 1 (0001)
+NT6AP256T32AV-J1 2 (0010)
+H9HCNNNBKMMLXR-NEE 1 (0001)
+MT53E1G32D2NP-046 WT:B 3 (0011)
+MT53E512M32D2NP-046 WT:E 1 (0001)
+K4U6E3S4AA-MGCR 1 (0001)
+H9HCNNNCPMMLXR-NEE 3 (0011)
+K4UBE3D4AA-MGCR 3 (0011)
+K4U6E3S4AB-MGCL 1 (0001)
+H54G46CYRBX267 1 (0001)
+MT53E512M32D1NP-046 WT:B 1 (0001)
diff --git a/src/mainboard/google/guybrush/variants/dewatt/memory/mem_parts_used.txt b/src/mainboard/google/guybrush/variants/dewatt/memory/mem_parts_used.txt
deleted file mode 100644
index 4b6ba225ac..0000000000
--- a/src/mainboard/google/guybrush/variants/dewatt/memory/mem_parts_used.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-K4U6E3S4AB-MGCL
-H54G46CYRBX267
-MT53E1G32D2NP-046 WT:B
-MT53E512M32D1NP-046 WT:B
diff --git a/src/mainboard/google/guybrush/variants/guybrush/memory/Makefile.inc b/src/mainboard/google/guybrush/variants/guybrush/memory/Makefile.inc
index 5af83adff1..9c40489a12 100644
--- a/src/mainboard/google/guybrush/variants/guybrush/memory/Makefile.inc
+++ b/src/mainboard/google/guybrush/variants/guybrush/memory/Makefile.inc
@@ -5,6 +5,6 @@
SPD_SOURCES =
SPD_SOURCES += spd/lp4x/set-1/spd-4.hex # ID = 0(0b0000) Parts = MT53E1G32D2NP-046 WT:A
-SPD_SOURCES += spd/lp4x/set-1/spd-1.hex # ID = 1(0b0001) Parts = MT53E512M32D2NP-046 WT:F, H9HCNNNBKMMLXR-NEE
+SPD_SOURCES += spd/lp4x/set-1/spd-1.hex # ID = 1(0b0001) Parts = MT53E512M32D2NP-046 WT:F, H9HCNNNBKMMLXR-NEE, MT53E512M32D2NP-046 WT:E, K4U6E3S4AA-MGCR, K4U6E3S4AB-MGCL, H54G46CYRBX267, MT53E512M32D1NP-046 WT:B
SPD_SOURCES += spd/lp4x/set-1/spd-9.hex # ID = 2(0b0010) Parts = NT6AP256T32AV-J1
-SPD_SOURCES += spd/lp4x/set-1/spd-3.hex # ID = 3(0b0011) Parts = MT53E1G32D2NP-046 WT:B
+SPD_SOURCES += spd/lp4x/set-1/spd-3.hex # ID = 3(0b0011) Parts = MT53E1G32D2NP-046 WT:B, H9HCNNNCPMMLXR-NEE, K4UBE3D4AA-MGCR
diff --git a/src/mainboard/google/guybrush/variants/guybrush/memory/dram_id.generated.txt b/src/mainboard/google/guybrush/variants/guybrush/memory/dram_id.generated.txt
index 02c1bf30a1..44c16e9f12 100644
--- a/src/mainboard/google/guybrush/variants/guybrush/memory/dram_id.generated.txt
+++ b/src/mainboard/google/guybrush/variants/guybrush/memory/dram_id.generated.txt
@@ -9,3 +9,10 @@ MT53E512M32D2NP-046 WT:F 1 (0001)
NT6AP256T32AV-J1 2 (0010)
H9HCNNNBKMMLXR-NEE 1 (0001)
MT53E1G32D2NP-046 WT:B 3 (0011)
+MT53E512M32D2NP-046 WT:E 1 (0001)
+K4U6E3S4AA-MGCR 1 (0001)
+H9HCNNNCPMMLXR-NEE 3 (0011)
+K4UBE3D4AA-MGCR 3 (0011)
+K4U6E3S4AB-MGCL 1 (0001)
+H54G46CYRBX267 1 (0001)
+MT53E512M32D1NP-046 WT:B 1 (0001)
diff --git a/src/mainboard/google/guybrush/variants/guybrush/memory/mem_parts_used.txt b/src/mainboard/google/guybrush/variants/guybrush/memory/mem_parts_used.txt
index b267e539f1..a91017cc78 100644
--- a/src/mainboard/google/guybrush/variants/guybrush/memory/mem_parts_used.txt
+++ b/src/mainboard/google/guybrush/variants/guybrush/memory/mem_parts_used.txt
@@ -3,3 +3,10 @@ MT53E512M32D2NP-046 WT:F
NT6AP256T32AV-J1
H9HCNNNBKMMLXR-NEE
MT53E1G32D2NP-046 WT:B
+MT53E512M32D2NP-046 WT:E
+K4U6E3S4AA-MGCR
+H9HCNNNCPMMLXR-NEE
+K4UBE3D4AA-MGCR
+K4U6E3S4AB-MGCL
+H54G46CYRBX267
+MT53E512M32D1NP-046 WT:B
diff --git a/src/mainboard/google/guybrush/variants/nipperkin/memory/Makefile.inc b/src/mainboard/google/guybrush/variants/nipperkin/memory/Makefile.inc
index b2a552c04c..71e59b58aa 100644
--- a/src/mainboard/google/guybrush/variants/nipperkin/memory/Makefile.inc
+++ b/src/mainboard/google/guybrush/variants/nipperkin/memory/Makefile.inc
@@ -1,10 +1,10 @@
# 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 CZN lp4x src/mainboard/google/guybrush/variants/nipperkin/memory src/mainboard/google/guybrush/variants/nipperkin/memory/mem_parts_used.txt
+# util/spd_tools/bin/part_id_gen CZN lp4x src/mainboard/google/guybrush/variants/nipperkin/memory src/mainboard/google/guybrush/variants/guybrush/memory/mem_parts_used.txt
SPD_SOURCES =
SPD_SOURCES += spd/lp4x/set-1/spd-4.hex # ID = 0(0b0000) Parts = MT53E1G32D2NP-046 WT:A
-SPD_SOURCES += spd/lp4x/set-1/spd-1.hex # ID = 1(0b0001) Parts = MT53E512M32D2NP-046 WT:F, H9HCNNNBKMMLXR-NEE, MT53E512M32D2NP-046 WT:E, K4U6E3S4AA-MGCR
+SPD_SOURCES += spd/lp4x/set-1/spd-1.hex # ID = 1(0b0001) Parts = MT53E512M32D2NP-046 WT:F, H9HCNNNBKMMLXR-NEE, MT53E512M32D2NP-046 WT:E, K4U6E3S4AA-MGCR, K4U6E3S4AB-MGCL, H54G46CYRBX267, MT53E512M32D1NP-046 WT:B
SPD_SOURCES += spd/lp4x/set-1/spd-9.hex # ID = 2(0b0010) Parts = NT6AP256T32AV-J1
SPD_SOURCES += spd/lp4x/set-1/spd-3.hex # ID = 3(0b0011) Parts = MT53E1G32D2NP-046 WT:B, H9HCNNNCPMMLXR-NEE, K4UBE3D4AA-MGCR
diff --git a/src/mainboard/google/guybrush/variants/nipperkin/memory/dram_id.generated.txt b/src/mainboard/google/guybrush/variants/nipperkin/memory/dram_id.generated.txt
index af5e9806f7..7920b438ac 100644
--- a/src/mainboard/google/guybrush/variants/nipperkin/memory/dram_id.generated.txt
+++ b/src/mainboard/google/guybrush/variants/nipperkin/memory/dram_id.generated.txt
@@ -1,7 +1,7 @@
# 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 CZN lp4x src/mainboard/google/guybrush/variants/nipperkin/memory src/mainboard/google/guybrush/variants/nipperkin/memory/mem_parts_used.txt
+# util/spd_tools/bin/part_id_gen CZN lp4x src/mainboard/google/guybrush/variants/nipperkin/memory src/mainboard/google/guybrush/variants/guybrush/memory/mem_parts_used.txt
DRAM Part Name ID to assign
MT53E1G32D2NP-046 WT:A 0 (0000)
@@ -13,3 +13,6 @@ MT53E512M32D2NP-046 WT:E 1 (0001)
K4U6E3S4AA-MGCR 1 (0001)
H9HCNNNCPMMLXR-NEE 3 (0011)
K4UBE3D4AA-MGCR 3 (0011)
+K4U6E3S4AB-MGCL 1 (0001)
+H54G46CYRBX267 1 (0001)
+MT53E512M32D1NP-046 WT:B 1 (0001)
diff --git a/src/mainboard/google/guybrush/variants/nipperkin/memory/mem_parts_used.txt b/src/mainboard/google/guybrush/variants/nipperkin/memory/mem_parts_used.txt
deleted file mode 100644
index eb702a6274..0000000000
--- a/src/mainboard/google/guybrush/variants/nipperkin/memory/mem_parts_used.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-MT53E1G32D2NP-046 WT:A
-MT53E512M32D2NP-046 WT:F
-NT6AP256T32AV-J1
-H9HCNNNBKMMLXR-NEE
-MT53E1G32D2NP-046 WT:B
-MT53E512M32D2NP-046 WT:E
-K4U6E3S4AA-MGCR
-H9HCNNNCPMMLXR-NEE
-K4UBE3D4AA-MGCR