summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeunghwan Kim <sh_.kim@samsung.corp-partner.google.com>2024-02-20 13:48:18 +0900
committerFelix Held <felix-coreboot@felixheld.de>2024-02-21 14:29:48 +0000
commit1e7f1c065869922acb72fb5c5b5bcce5cffea388 (patch)
treebaa09acd461ad4227864ba9b7e6bf6899abc1e07
parenta79ef93e82d39b4ff2f045cdc06ba33f0fe8abd3 (diff)
downloadcoreboot-1e7f1c065869922acb72fb5c5b5bcce5cffea388.tar.gz
coreboot-1e7f1c065869922acb72fb5c5b5bcce5cffea388.tar.bz2
coreboot-1e7f1c065869922acb72fb5c5b5bcce5cffea388.zip
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 <sh_.kim@samsung.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80637 Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
-rw-r--r--src/mainboard/google/brya/variants/xol/memory/Makefile.inc5
-rw-r--r--src/mainboard/google/brya/variants/xol/memory/Makefile.mk8
-rw-r--r--src/mainboard/google/brya/variants/xol/memory/dram_id.generated.txt7
-rw-r--r--src/mainboard/google/brya/variants/xol/memory/mem_parts_used.txt2
4 files changed, 17 insertions, 5 deletions
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 eace2e443e20..000000000000
--- 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 000000000000..f07fb67fbf52
--- /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 fa247902eeee..e36906a8efa1 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 96211370d91b..b5773cc57e4b 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