From a6065ec328de83e8c70cd4b7acd27ad99f882753 Mon Sep 17 00:00:00 2001 From: Frank Wu Date: Thu, 13 Oct 2022 15:22:13 +0800 Subject: [PATCH] mb/google/skyrim/var/frostflow: Generate RAM IDs for new memory parts Add new memory parts in the mem_parts_used.txt and generate the SPD ID for the parts. The memory parts being added are: DRAM Part Name ID to assign MT62F512M32D2DR-031 WT:B 0 (0000) H9JCNNNBK3MLYR-N6E 0 (0000) MT62F1G32D4DR-031 WT:B 1 (0001) H9JCNNNCP3MLYR-N6E 1 (0001) MT62F2G32D8DR-031 WT:B 2 (0010) H9JCNNNFA5MLYR-N6E 3 (0011) BUG=b:250470704, b:247683159 BRANCH=None TEST=FW_NAME=frostflow emerge-skyrim coreboot Signed-off-by: Frank Wu Change-Id: I34584092c938539c91d65501ebe34b00212b34d4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68388 Tested-by: build bot (Jenkins) Reviewed-by: Jon Murphy Reviewed-by: Karthik Ramasubramanian --- .../google/skyrim/variants/frostflow/Makefile.inc | 3 +++ .../skyrim/variants/frostflow/memory/Makefile.inc | 10 ++++++++++ .../variants/frostflow/memory/dram_id.generated.txt | 12 ++++++++++++ .../variants/frostflow/memory/mem_parts_used.txt | 6 ++++++ 4 files changed, 31 insertions(+) create mode 100644 src/mainboard/google/skyrim/variants/frostflow/Makefile.inc create mode 100644 src/mainboard/google/skyrim/variants/frostflow/memory/Makefile.inc create mode 100644 src/mainboard/google/skyrim/variants/frostflow/memory/dram_id.generated.txt create mode 100644 src/mainboard/google/skyrim/variants/frostflow/memory/mem_parts_used.txt diff --git a/src/mainboard/google/skyrim/variants/frostflow/Makefile.inc b/src/mainboard/google/skyrim/variants/frostflow/Makefile.inc new file mode 100644 index 0000000000..88e75bde52 --- /dev/null +++ b/src/mainboard/google/skyrim/variants/frostflow/Makefile.inc @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + +subdirs-y += ./memory diff --git a/src/mainboard/google/skyrim/variants/frostflow/memory/Makefile.inc b/src/mainboard/google/skyrim/variants/frostflow/memory/Makefile.inc new file mode 100644 index 0000000000..f6c1d1ade5 --- /dev/null +++ b/src/mainboard/google/skyrim/variants/frostflow/memory/Makefile.inc @@ -0,0 +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 MDN lp5 src/mainboard/google/skyrim/variants/frostflow/memory src/mainboard/google/skyrim/variants/frostflow/memory/mem_parts_used.txt + +SPD_SOURCES = +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, H9JCNNNCP3MLYR-N6E +SPD_SOURCES += spd/lp5/set-1/spd-4.hex # ID = 2(0b0010) Parts = MT62F2G32D8DR-031 WT:B +SPD_SOURCES += spd/lp5/set-1/spd-9.hex # ID = 3(0b0011) Parts = H9JCNNNFA5MLYR-N6E diff --git a/src/mainboard/google/skyrim/variants/frostflow/memory/dram_id.generated.txt b/src/mainboard/google/skyrim/variants/frostflow/memory/dram_id.generated.txt new file mode 100644 index 0000000000..1384f14c90 --- /dev/null +++ b/src/mainboard/google/skyrim/variants/frostflow/memory/dram_id.generated.txt @@ -0,0 +1,12 @@ +# 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 MDN lp5 src/mainboard/google/skyrim/variants/frostflow/memory src/mainboard/google/skyrim/variants/frostflow/memory/mem_parts_used.txt + +DRAM Part Name ID to assign +MT62F512M32D2DR-031 WT:B 0 (0000) +H9JCNNNBK3MLYR-N6E 0 (0000) +MT62F1G32D4DR-031 WT:B 1 (0001) +H9JCNNNCP3MLYR-N6E 1 (0001) +MT62F2G32D8DR-031 WT:B 2 (0010) +H9JCNNNFA5MLYR-N6E 3 (0011) diff --git a/src/mainboard/google/skyrim/variants/frostflow/memory/mem_parts_used.txt b/src/mainboard/google/skyrim/variants/frostflow/memory/mem_parts_used.txt new file mode 100644 index 0000000000..c1e7c076d0 --- /dev/null +++ b/src/mainboard/google/skyrim/variants/frostflow/memory/mem_parts_used.txt @@ -0,0 +1,6 @@ +MT62F512M32D2DR-031 WT:B, +H9JCNNNBK3MLYR-N6E, +MT62F1G32D4DR-031 WT:B, +H9JCNNNCP3MLYR-N6E, +MT62F2G32D8DR-031 WT:B, +H9JCNNNFA5MLYR-N6E,