From 7fff266b0745b2d482961b2e35a568f202e92aec Mon Sep 17 00:00:00 2001 From: Tony Huang Date: Wed, 5 Jan 2022 19:12:18 +0800 Subject: mb/google/brya/var/agah: Add new memory support Do initial memory support for project agah BUG=b:210970640 TEST=FW_NAME=agah emerge-brya coreboot Change-Id: Iaeea12a9dd8110a499b5df4de89dc1f74b88a580 Signed-off-by: Tony Huang Reviewed-on: https://review.coreboot.org/c/coreboot/+/60787 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- .../google/brya/variants/agah/Makefile.inc | 11 ++++++++++ .../brya/variants/agah/dram_id.generated.txt | 20 +++++++++++++++++ .../brya/variants/agah/memory/mem_parts_used.txt | 25 ++++++++++++---------- 3 files changed, 45 insertions(+), 11 deletions(-) create mode 100644 src/mainboard/google/brya/variants/agah/Makefile.inc create mode 100644 src/mainboard/google/brya/variants/agah/dram_id.generated.txt (limited to 'src/mainboard/google/brya/variants') diff --git a/src/mainboard/google/brya/variants/agah/Makefile.inc b/src/mainboard/google/brya/variants/agah/Makefile.inc new file mode 100644 index 0000000000..af6c1e3f94 --- /dev/null +++ b/src/mainboard/google/brya/variants/agah/Makefile.inc @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# This is an auto-generated file. Do not edit!! +# Generated by: +# /home/tony/ChromeProject/chroot_tot/GOlang/go1.17.5.linux-amd64/go/bin/part_id_gen ADL lp4x /home/tony/ChromeProject/coreboot/src/mainboard/google/brya/variants/agah/ /home/tony/ChromeProject/coreboot/src/mainboard/google/brya/variants/agah/memory/mem_parts_used.txt + +SPD_SOURCES = +SPD_SOURCES += spd/lp4x/set-0/spd-4.hex # ID = 0(0b0000) Parts = MT53E1G32D2NP-046 WT:A +SPD_SOURCES += spd/lp4x/set-0/spd-1.hex # ID = 1(0b0001) Parts = H9HCNNNBKMMLXR-NEE, K4U6E3S4AA-MGCR, MT53E512M32D2NP-046 WT:E, MT53E512M32D1NP-046 WT:B, H54G46CYRBX267, K4U6E3S4AB-MGCL +SPD_SOURCES += spd/lp4x/set-0/spd-3.hex # ID = 2(0b0010) Parts = H9HCNNNCPMMLXR-NEE, K4UBE3D4AA-MGCR, MT53E1G32D2NP-046 WT:B, H54G56CYRBX247, K4UBE3D4AB-MGCL +SPD_SOURCES += spd/lp4x/set-0/spd-2.hex # ID = 3(0b0011) Parts = H9HCNNNFAMMLXR-NEE +SPD_SOURCES += spd/lp4x/set-0/spd-7.hex # ID = 4(0b0100) Parts = MT53E2G32D4NQ-046 WT:A diff --git a/src/mainboard/google/brya/variants/agah/dram_id.generated.txt b/src/mainboard/google/brya/variants/agah/dram_id.generated.txt new file mode 100644 index 0000000000..20511a4cd3 --- /dev/null +++ b/src/mainboard/google/brya/variants/agah/dram_id.generated.txt @@ -0,0 +1,20 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# This is an auto-generated file. Do not edit!! +# Generated by: +# /home/tony/ChromeProject/chroot_tot/GOlang/go1.17.5.linux-amd64/go/bin/part_id_gen ADL lp4x /home/tony/ChromeProject/coreboot/src/mainboard/google/brya/variants/agah/ /home/tony/ChromeProject/coreboot/src/mainboard/google/brya/variants/agah/memory/mem_parts_used.txt + +DRAM Part Name ID to assign +MT53E1G32D2NP-046 WT:A 0 (0000) +H9HCNNNBKMMLXR-NEE 1 (0001) +K4U6E3S4AA-MGCR 1 (0001) +MT53E512M32D2NP-046 WT:E 1 (0001) +H9HCNNNCPMMLXR-NEE 2 (0010) +K4UBE3D4AA-MGCR 2 (0010) +H9HCNNNFAMMLXR-NEE 3 (0011) +MT53E2G32D4NQ-046 WT:A 4 (0100) +MT53E512M32D1NP-046 WT:B 1 (0001) +MT53E1G32D2NP-046 WT:B 2 (0010) +H54G46CYRBX267 1 (0001) +K4U6E3S4AB-MGCL 1 (0001) +H54G56CYRBX247 2 (0010) +K4UBE3D4AB-MGCL 2 (0010) diff --git a/src/mainboard/google/brya/variants/agah/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/agah/memory/mem_parts_used.txt index 96211370d9..ca83c7f11f 100644 --- a/src/mainboard/google/brya/variants/agah/memory/mem_parts_used.txt +++ b/src/mainboard/google/brya/variants/agah/memory/mem_parts_used.txt @@ -1,11 +1,14 @@ -# 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 +MT53E1G32D2NP-046 WT:A +H9HCNNNBKMMLXR-NEE +K4U6E3S4AA-MGCR +MT53E512M32D2NP-046 WT:E +H9HCNNNCPMMLXR-NEE +K4UBE3D4AA-MGCR +H9HCNNNFAMMLXR-NEE +MT53E2G32D4NQ-046 WT:A +MT53E512M32D1NP-046 WT:B +MT53E1G32D2NP-046 WT:B +H54G46CYRBX267 +K4U6E3S4AB-MGCL +H54G56CYRBX247 +K4UBE3D4AB-MGCL -- cgit v1.2.3