From 0533867a08cd587eb075e01290c788235d44be3f Mon Sep 17 00:00:00 2001 From: van_chen Date: Wed, 15 Mar 2023 18:00:45 +0800 Subject: mb/google/nissa/var/uldren: Create RAM ID table DRAM Part Name ID to assign MT62F512M32D2DR-031 WT:B 0 (0000) H9JCNNNBK3MLYR-N6E 0 (0000) K3KL6L60GM-MGCT 1 (0001) MT62F1G32D2DS-026 WT:B 2 (0010) K3KL8L80CM-MGCT 2 (0010) H58G56BK7BX068 2 (0010) BUG=b:270103716 BRANCH=firmware-nissa-15217.B TEST=emerge-nissa coreboot Change-Id: Ia53c2be2ec606f42ac8bca06103b028e62ae6dbc Signed-off-by: van_chen Reviewed-on: https://review.coreboot.org/c/coreboot/+/73733 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: Dtrain Hsu Reviewed-by: Ian Feng --- src/mainboard/google/brya/variants/uldren/memory/Makefile.inc | 8 ++++++-- .../google/brya/variants/uldren/memory/dram_id.generated.txt | 11 +++++++++++ .../google/brya/variants/uldren/memory/mem_parts_used.txt | 6 ++++++ 3 files changed, 23 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/mainboard/google/brya/variants/uldren/memory/Makefile.inc b/src/mainboard/google/brya/variants/uldren/memory/Makefile.inc index eace2e443e..cec645c8c5 100644 --- a/src/mainboard/google/brya/variants/uldren/memory/Makefile.inc +++ b/src/mainboard/google/brya/variants/uldren/memory/Makefile.inc @@ -1,5 +1,9 @@ # SPDX-License-Identifier: GPL-2.0-or-later # This is an auto-generated file. Do not edit!! -# Add memory parts in mem_parts_used.txt and run spd_tools to regenerate. +# Generated by: +# ./util/spd_tools/bin/part_id_gen adl lp5 src/mainboard/google/brya/variants/uldren/memory/ src/mainboard/google/brya/variants/uldren/memory/mem_parts_used.txt -SPD_SOURCES = placeholder +SPD_SOURCES = +SPD_SOURCES += spd/lp5/set-0/spd-1.hex # ID = 0(0b0000) Parts = MT62F512M32D2DR-031 WT:B, H9JCNNNBK3MLYR-N6E +SPD_SOURCES += spd/lp5/set-0/spd-9.hex # ID = 1(0b0001) Parts = K3KL6L60GM-MGCT +SPD_SOURCES += spd/lp5/set-0/spd-7.hex # ID = 2(0b0010) Parts = MT62F1G32D2DS-026 WT:B, K3KL8L80CM-MGCT, H58G56BK7BX068 diff --git a/src/mainboard/google/brya/variants/uldren/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/uldren/memory/dram_id.generated.txt index fa247902ee..b433bec012 100644 --- a/src/mainboard/google/brya/variants/uldren/memory/dram_id.generated.txt +++ b/src/mainboard/google/brya/variants/uldren/memory/dram_id.generated.txt @@ -1 +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 adl lp5 src/mainboard/google/brya/variants/uldren/memory/ src/mainboard/google/brya/variants/uldren/memory/mem_parts_used.txt + DRAM Part Name ID to assign +MT62F512M32D2DR-031 WT:B 0 (0000) +H9JCNNNBK3MLYR-N6E 0 (0000) +K3KL6L60GM-MGCT 1 (0001) +MT62F1G32D2DS-026 WT:B 2 (0010) +K3KL8L80CM-MGCT 2 (0010) +H58G56BK7BX068 2 (0010) diff --git a/src/mainboard/google/brya/variants/uldren/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/uldren/memory/mem_parts_used.txt index 96211370d9..5e49eecb6a 100644 --- a/src/mainboard/google/brya/variants/uldren/memory/mem_parts_used.txt +++ b/src/mainboard/google/brya/variants/uldren/memory/mem_parts_used.txt @@ -9,3 +9,9 @@ # See util/spd_tools/README.md for more details and instructions. # Part Name +MT62F512M32D2DR-031 WT:B +H9JCNNNBK3MLYR-N6E +K3KL6L60GM-MGCT +MT62F1G32D2DS-026 WT:B +K3KL8L80CM-MGCT +H58G56BK7BX068 -- cgit v1.2.3