From 4cd1711cc1ea00e9bd5084fcb41a37f5c56c3c51 Mon Sep 17 00:00:00 2001 From: Amanda Huang Date: Fri, 22 Jul 2022 10:30:20 +0800 Subject: mb/google/skyrim/var/skyrim: Add two supported memory parts Add two memory parts and generate the associated DRAM part ID. 1) Hynix H9JCNNNBK3MLYR-N6E 2) Hynix H58G56AK6BX069 BUG=b:228415394 TEST=none Change-Id: I0f5ca291e02e209032e2533f4b2d4241b5e62e42 Signed-off-by: Amanda Huang Reviewed-on: https://review.coreboot.org/c/coreboot/+/66062 Tested-by: build bot (Jenkins) Reviewed-by: Karthik Ramasubramanian --- src/mainboard/google/skyrim/variants/skyrim/memory/Makefile.inc | 5 +++-- .../google/skyrim/variants/skyrim/memory/dram_id.generated.txt | 4 +++- .../google/skyrim/variants/skyrim/memory/mem_parts_used.txt | 2 ++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/mainboard/google/skyrim/variants/skyrim/memory/Makefile.inc b/src/mainboard/google/skyrim/variants/skyrim/memory/Makefile.inc index e5b2d6e4dc..0652bba6b0 100644 --- a/src/mainboard/google/skyrim/variants/skyrim/memory/Makefile.inc +++ b/src/mainboard/google/skyrim/variants/skyrim/memory/Makefile.inc @@ -1,9 +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 SBR lp5 src/mainboard/google/skyrim/variants/skyrim/memory/ src/mainboard/google/skyrim/variants/skyrim/memory/mem_parts_used.txt +# util/spd_tools/bin/part_id_gen SBR lp5 src/mainboard/google/skyrim/variants/skyrim/memory src/mainboard/google/skyrim/variants/skyrim/memory/mem_parts_used.txt SPD_SOURCES = -SPD_SOURCES += spd/lp5/set-1/spd-1.hex # ID = 0(0b0000) Parts = MT62F512M32D2DR-031 WT:B +SPD_SOURCES += spd/lp5/set-1/spd-1.hex # ID = 0(0b0000) Parts = MT62F512M32D2DR-031 WT:B, H9JCNNNBK3MLYR-N6E SPD_SOURCES += spd/lp5/set-1/spd-2.hex # ID = 1(0b0001) Parts = MT62F1G32D4DR-031 WT:B SPD_SOURCES += spd/lp5/set-1/spd-4.hex # ID = 2(0b0010) Parts = MT62F2G32D8DR-031 WT:B +SPD_SOURCES += spd/lp5/set-1/spd-3.hex # ID = 3(0b0011) Parts = H58G56AK6BX069 diff --git a/src/mainboard/google/skyrim/variants/skyrim/memory/dram_id.generated.txt b/src/mainboard/google/skyrim/variants/skyrim/memory/dram_id.generated.txt index b4115ed61e..2920c9a193 100644 --- a/src/mainboard/google/skyrim/variants/skyrim/memory/dram_id.generated.txt +++ b/src/mainboard/google/skyrim/variants/skyrim/memory/dram_id.generated.txt @@ -1,9 +1,11 @@ # 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 SBR lp5 src/mainboard/google/skyrim/variants/skyrim/memory/ src/mainboard/google/skyrim/variants/skyrim/memory/mem_parts_used.txt +# util/spd_tools/bin/part_id_gen SBR lp5 src/mainboard/google/skyrim/variants/skyrim/memory src/mainboard/google/skyrim/variants/skyrim/memory/mem_parts_used.txt DRAM Part Name ID to assign MT62F512M32D2DR-031 WT:B 0 (0000) MT62F1G32D4DR-031 WT:B 1 (0001) MT62F2G32D8DR-031 WT:B 2 (0010) +H9JCNNNBK3MLYR-N6E 0 (0000) +H58G56AK6BX069 3 (0011) diff --git a/src/mainboard/google/skyrim/variants/skyrim/memory/mem_parts_used.txt b/src/mainboard/google/skyrim/variants/skyrim/memory/mem_parts_used.txt index 8449ac245b..5501d35491 100644 --- a/src/mainboard/google/skyrim/variants/skyrim/memory/mem_parts_used.txt +++ b/src/mainboard/google/skyrim/variants/skyrim/memory/mem_parts_used.txt @@ -1,3 +1,5 @@ MT62F512M32D2DR-031 WT:B, MT62F1G32D4DR-031 WT:B, MT62F2G32D8DR-031 WT:B, +H9JCNNNBK3MLYR-N6E, +H58G56AK6BX069, -- cgit v1.2.3