From 1e7f1c065869922acb72fb5c5b5bcce5cffea388 Mon Sep 17 00:00:00 2001 From: Seunghwan Kim Date: Tue, 20 Feb 2024 13:48:18 +0900 Subject: mb/google/brya/var/xol: Add support memory parts Add support memory parts for Xol. - Samsung K3KL6L60GM-MGCT - Samsung K3KL8L80CM-MGCT BUG=b:319506033 BRANCH=firmware-brya-14505.B TEST=FW_NAME=xol emerge-brya coreboot chromeos-bootimage Proto board can boot to ChromeOS. Change-Id: Ic6a36e40f0f93109f296c5cc67a368ace81bd217 Signed-off-by: Seunghwan Kim Reviewed-on: https://review.coreboot.org/c/coreboot/+/80637 Reviewed-by: Eric Lai Reviewed-by: Kapil Porwal Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/mainboard/google/brya/variants/xol/memory/Makefile.inc | 5 ----- src/mainboard/google/brya/variants/xol/memory/Makefile.mk | 8 ++++++++ .../google/brya/variants/xol/memory/dram_id.generated.txt | 7 +++++++ src/mainboard/google/brya/variants/xol/memory/mem_parts_used.txt | 2 ++ 4 files changed, 17 insertions(+), 5 deletions(-) delete mode 100644 src/mainboard/google/brya/variants/xol/memory/Makefile.inc create mode 100644 src/mainboard/google/brya/variants/xol/memory/Makefile.mk (limited to 'src/mainboard/google/brya') diff --git a/src/mainboard/google/brya/variants/xol/memory/Makefile.inc b/src/mainboard/google/brya/variants/xol/memory/Makefile.inc deleted file mode 100644 index eace2e443e..0000000000 --- a/src/mainboard/google/brya/variants/xol/memory/Makefile.inc +++ /dev/null @@ -1,5 +0,0 @@ -# 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. - -SPD_SOURCES = placeholder diff --git a/src/mainboard/google/brya/variants/xol/memory/Makefile.mk b/src/mainboard/google/brya/variants/xol/memory/Makefile.mk new file mode 100644 index 0000000000..f07fb67fbf --- /dev/null +++ b/src/mainboard/google/brya/variants/xol/memory/Makefile.mk @@ -0,0 +1,8 @@ +# 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/xol/memory/ src/mainboard/google/brya/variants/xol/memory/mem_parts_used.txt + +SPD_SOURCES = +SPD_SOURCES += spd/lp5/set-0/spd-9.hex # ID = 0(0b0000) Parts = K3KL6L60GM-MGCT +SPD_SOURCES += spd/lp5/set-0/spd-7.hex # ID = 1(0b0001) Parts = K3KL8L80CM-MGCT diff --git a/src/mainboard/google/brya/variants/xol/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/xol/memory/dram_id.generated.txt index fa247902ee..e36906a8ef 100644 --- a/src/mainboard/google/brya/variants/xol/memory/dram_id.generated.txt +++ b/src/mainboard/google/brya/variants/xol/memory/dram_id.generated.txt @@ -1 +1,8 @@ +# 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/xol/memory/ src/mainboard/google/brya/variants/xol/memory/mem_parts_used.txt + DRAM Part Name ID to assign +K3KL6L60GM-MGCT 0 (0000) +K3KL8L80CM-MGCT 1 (0001) diff --git a/src/mainboard/google/brya/variants/xol/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/xol/memory/mem_parts_used.txt index 96211370d9..b5773cc57e 100644 --- a/src/mainboard/google/brya/variants/xol/memory/mem_parts_used.txt +++ b/src/mainboard/google/brya/variants/xol/memory/mem_parts_used.txt @@ -9,3 +9,5 @@ # See util/spd_tools/README.md for more details and instructions. # Part Name +K3KL6L60GM-MGCT +K3KL8L80CM-MGCT -- cgit v1.2.3