From 44e449b15cecbc774c8ed30f6ca6e0d9917cc913 Mon Sep 17 00:00:00 2001 From: Karthikeyan Ramasubramanian Date: Tue, 12 Apr 2022 17:01:25 -0600 Subject: mb/google/skyrim/var/skyrim: Add supported memory parts Add supported memory parts and generate the associated DRAM part ID. Also for MT62F2G32D8DR-031 WT:B memory part, add a custom SPD that configures the DRAM speed at 5500 MHz. Use this custom SPD until that part can operate at full speed (i.e. 6400 MHz). BUG=None TEST=Build Skyrim. Signed-off-by: Karthikeyan Ramasubramanian Change-Id: Id87e79f5d6187d57d74487841c09aa309f1450b4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63599 Tested-by: build bot (Jenkins) Reviewed-by: Robert Zieba Reviewed-by: Jon Murphy Reviewed-by: Raul Rangel --- .../google/skyrim/variants/skyrim/Makefile.inc | 3 ++ .../skyrim/variants/skyrim/memory/Makefile.inc | 9 ++++++ .../variants/skyrim/memory/dram_id.generated.txt | 9 ++++++ .../variants/skyrim/memory/mem_parts_used.txt | 3 ++ .../skyrim/memory/spd-MT62F2G32D8DR-031.hex | 32 ++++++++++++++++++++++ 5 files changed, 56 insertions(+) create mode 100644 src/mainboard/google/skyrim/variants/skyrim/Makefile.inc create mode 100644 src/mainboard/google/skyrim/variants/skyrim/memory/Makefile.inc create mode 100644 src/mainboard/google/skyrim/variants/skyrim/memory/dram_id.generated.txt create mode 100644 src/mainboard/google/skyrim/variants/skyrim/memory/mem_parts_used.txt create mode 100644 src/mainboard/google/skyrim/variants/skyrim/memory/spd-MT62F2G32D8DR-031.hex (limited to 'src') diff --git a/src/mainboard/google/skyrim/variants/skyrim/Makefile.inc b/src/mainboard/google/skyrim/variants/skyrim/Makefile.inc new file mode 100644 index 0000000000..88e75bde52 --- /dev/null +++ b/src/mainboard/google/skyrim/variants/skyrim/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/skyrim/memory/Makefile.inc b/src/mainboard/google/skyrim/variants/skyrim/memory/Makefile.inc new file mode 100644 index 0000000000..35975c7584 --- /dev/null +++ b/src/mainboard/google/skyrim/variants/skyrim/memory/Makefile.inc @@ -0,0 +1,9 @@ +# 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 + +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-2.hex # ID = 1(0b0001) Parts = MT62F1G32D4DR-031 WT:B +SPD_SOURCES += src/mainboard/google/skyrim/variants/skyrim/memory/spd-MT62F2G32D8DR-031.hex # ID = 2(0b0010) Parts = MT62F2G32D8DR-031 WT:B 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 new file mode 100644 index 0000000000..b4115ed61e --- /dev/null +++ b/src/mainboard/google/skyrim/variants/skyrim/memory/dram_id.generated.txt @@ -0,0 +1,9 @@ +# 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 + +DRAM Part Name ID to assign +MT62F512M32D2DR-031 WT:B 0 (0000) +MT62F1G32D4DR-031 WT:B 1 (0001) +MT62F2G32D8DR-031 WT:B 2 (0010) 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 new file mode 100644 index 0000000000..bd84cbf43f --- /dev/null +++ b/src/mainboard/google/skyrim/variants/skyrim/memory/mem_parts_used.txt @@ -0,0 +1,3 @@ +MT62F512M32D2DR-031 WT:B, +MT62F1G32D4DR-031 WT:B, +MT62F2G32D8DR-031 WT:B,2,spd-MT62F2G32D8DR-031.hex diff --git a/src/mainboard/google/skyrim/variants/skyrim/memory/spd-MT62F2G32D8DR-031.hex b/src/mainboard/google/skyrim/variants/skyrim/memory/spd-MT62F2G32D8DR-031.hex new file mode 100644 index 0000000000..01a5734bd4 --- /dev/null +++ b/src/mainboard/google/skyrim/variants/skyrim/memory/spd-MT62F2G32D8DR-031.hex @@ -0,0 +1,32 @@ +23 11 13 0E 85 21 F9 18 00 40 00 00 09 02 00 00 +00 00 03 00 00 00 00 00 2C 00 90 A8 90 90 06 C0 +03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 C9 00 F4 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 20 20 20 20 20 20 20 +20 20 20 20 20 20 20 20 20 20 20 20 20 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -- cgit v1.2.3