From c375feecc5c4b328dad54a94d1143d6d019cfde0 Mon Sep 17 00:00:00 2001 From: Ian Feng Date: Tue, 17 Aug 2021 10:43:26 +0800 Subject: mb/google/dedede/var/corori: Generate RAM ID and SPD file Add the support RAM parts for Corori. Here is the ram part number list: DRAM Part Name ID to assign H9HCNNNBKMMLXR-NEE 0 (0000) K4U6E3S4AA-MGCR 0 (0000) lp4x-spd-1.hex # ID = 0(0b0000) Parts = H9HCNNNBKMMLXR-NEE, K4U6E3S4AA-MGCR BUG=b:196744958 BRANCH=keeby TEST=emerge-keeby coreboot Signed-off-by: Ian Feng Change-Id: Ia11b5db145deeea838a8f5949accdb11e13342f2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56988 Reviewed-by: Shou-Chieh Hsu Reviewed-by: Karthik Ramasubramanian Tested-by: build bot (Jenkins) --- .../google/dedede/variants/corori/memory/Makefile.inc | 4 ++-- .../dedede/variants/corori/memory/dram_id.generated.txt | 2 ++ .../google/dedede/variants/corori/memory/mem_parts_used.txt | 13 ++----------- 3 files changed, 6 insertions(+), 13 deletions(-) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/dedede/variants/corori/memory/Makefile.inc b/src/mainboard/google/dedede/variants/corori/memory/Makefile.inc index b0ca2223a8..315f10fa77 100644 --- a/src/mainboard/google/dedede/variants/corori/memory/Makefile.inc +++ b/src/mainboard/google/dedede/variants/corori/memory/Makefile.inc @@ -1,5 +1,5 @@ ## 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.spd.hex +SPD_SOURCES = +SPD_SOURCES += lp4x-spd-1.hex # ID = 0(0b0000) Parts = H9HCNNNBKMMLXR-NEE, K4U6E3S4AA-MGCR diff --git a/src/mainboard/google/dedede/variants/corori/memory/dram_id.generated.txt b/src/mainboard/google/dedede/variants/corori/memory/dram_id.generated.txt index fa247902ee..d0b9209884 100644 --- a/src/mainboard/google/dedede/variants/corori/memory/dram_id.generated.txt +++ b/src/mainboard/google/dedede/variants/corori/memory/dram_id.generated.txt @@ -1 +1,3 @@ DRAM Part Name ID to assign +H9HCNNNBKMMLXR-NEE 0 (0000) +K4U6E3S4AA-MGCR 0 (0000) diff --git a/src/mainboard/google/dedede/variants/corori/memory/mem_parts_used.txt b/src/mainboard/google/dedede/variants/corori/memory/mem_parts_used.txt index e4258b530d..ae86d68a14 100644 --- a/src/mainboard/google/dedede/variants/corori/memory/mem_parts_used.txt +++ b/src/mainboard/google/dedede/variants/corori/memory/mem_parts_used.txt @@ -1,11 +1,2 @@ -# 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 -# gen_part_id tool from util/spd_tools/{ddr4,lp4x}. -# See util/spd_tools/{ddr4,lp4x}/README.md for more details and instructions. - -# Part Name +H9HCNNNBKMMLXR-NEE +K4U6E3S4AA-MGCR -- cgit v1.2.3