From 031c40a7853ab156d54e5f554cfe1031ffde7662 Mon Sep 17 00:00:00 2001 From: Leo Chou Date: Mon, 13 Jun 2022 13:16:43 +0800 Subject: mb/google/nissa/var/pujjo: Generate SPD ID for supported memory part Add pujjo supported memory parts in mem_parts_used.txt, generate SPD id for this part. 1. Samsung K3LKBKB0BM-MGCP, K3LKCKC0BM-MGCP 2. Hynix H58G56AK6BX069, H9JCNNNBK3MLYR-N6E 3. Micron MT62F512M32D2DR-031 WT:B BUG=b:235765890 TEST=Use part_id_gen to generate related settings Signed-off-by: Leo Chou Change-Id: I929527a219452082e416803f7a74d470be5a188c Reviewed-on: https://review.coreboot.org/c/coreboot/+/65100 Reviewed-by: Reka Norman Tested-by: build bot (Jenkins) --- .../google/brya/variants/pujjo/memory/Makefile.inc | 9 +++++++++ .../brya/variants/pujjo/memory/dram_id.generated.txt | 11 +++++++++++ .../google/brya/variants/pujjo/memory/mem_parts_used.txt | 16 ++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 src/mainboard/google/brya/variants/pujjo/memory/Makefile.inc create mode 100644 src/mainboard/google/brya/variants/pujjo/memory/dram_id.generated.txt create mode 100644 src/mainboard/google/brya/variants/pujjo/memory/mem_parts_used.txt diff --git a/src/mainboard/google/brya/variants/pujjo/memory/Makefile.inc b/src/mainboard/google/brya/variants/pujjo/memory/Makefile.inc new file mode 100644 index 0000000000..3d26e33b98 --- /dev/null +++ b/src/mainboard/google/brya/variants/pujjo/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 ADL lp5 src/mainboard/google/brya/variants/pujjo/memory/ src/mainboard/google/brya/variants/pujjo/memory/mem_parts_used.txt + +SPD_SOURCES = +SPD_SOURCES += spd/lp5/set-0/spd-3.hex # ID = 0(0b0000) Parts = H58G56AK6BX069, K3LKBKB0BM-MGCP +SPD_SOURCES += spd/lp5/set-0/spd-1.hex # ID = 1(0b0001) Parts = H9JCNNNBK3MLYR-N6E, MT62F512M32D2DR-031 WT:B +SPD_SOURCES += spd/lp5/set-0/spd-6.hex # ID = 2(0b0010) Parts = K3LKCKC0BM-MGCP diff --git a/src/mainboard/google/brya/variants/pujjo/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/pujjo/memory/dram_id.generated.txt new file mode 100644 index 0000000000..2bbb639e8c --- /dev/null +++ b/src/mainboard/google/brya/variants/pujjo/memory/dram_id.generated.txt @@ -0,0 +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 ADL lp5 src/mainboard/google/brya/variants/pujjo/memory/ src/mainboard/google/brya/variants/pujjo/memory/mem_parts_used.txt + +DRAM Part Name ID to assign +H58G56AK6BX069 0 (0000) +H9JCNNNBK3MLYR-N6E 1 (0001) +K3LKBKB0BM-MGCP 0 (0000) +K3LKCKC0BM-MGCP 2 (0010) +MT62F512M32D2DR-031 WT:B 1 (0001) diff --git a/src/mainboard/google/brya/variants/pujjo/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/pujjo/memory/mem_parts_used.txt new file mode 100644 index 0000000000..784e909b43 --- /dev/null +++ b/src/mainboard/google/brya/variants/pujjo/memory/mem_parts_used.txt @@ -0,0 +1,16 @@ +# This is a CSV file containing a list of memory parts used by this variant. +# One part per line with an optional fixed ID in column 2. +# Only include a fixed ID if it is required for legacy reasons! +# Generated IDs are dependent on the order of parts in this file, +# so new parts must always be added at the end of the file! +# +# Generate an updated Makefile.inc and dram_id.generated.txt by running the +# part_id_gen tool from util/spd_tools. +# See util/spd_tools/README.md for more details and instructions. + +# Part Name +H58G56AK6BX069 +H9JCNNNBK3MLYR-N6E +K3LKBKB0BM-MGCP +K3LKCKC0BM-MGCP +MT62F512M32D2DR-031 WT:B -- cgit v1.2.3