Teddy Shih has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60240 )
Change subject: mb/google/dedede/var/beadrix: Add memory part and generate DRAM ID ......................................................................
mb/google/dedede/var/beadrix: Add memory part and generate DRAM ID
This change adds memory part used by variant beadrix to mem_part_used.txt and generates DRAM ID allocated to the part.
BUG=b:204882915, b:210123929 BRANCH=None TEST=run part_id_gen to generate SPD id
Signed-off-by: Teddy Shih teddyshih@ami.corp-partner.google.com Change-Id: I28a12a6b23e15e424cf80a8d26948357a0282fd4 --- M src/mainboard/google/dedede/variants/beadrix/memory/Makefile.inc M src/mainboard/google/dedede/variants/beadrix/memory/dram_id.generated.txt M src/mainboard/google/dedede/variants/beadrix/memory/mem_parts_used.txt 3 files changed, 6 insertions(+), 13 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/40/60240/1
diff --git a/src/mainboard/google/dedede/variants/beadrix/memory/Makefile.inc b/src/mainboard/google/dedede/variants/beadrix/memory/Makefile.inc old mode 100644 new mode 100755 index 6751a42..d513880 --- a/src/mainboard/google/dedede/variants/beadrix/memory/Makefile.inc +++ b/src/mainboard/google/dedede/variants/beadrix/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_SOURCES = +SPD_SOURCES += lp4x-spd-1.hex # ID = 0(0b0000) Parts = MT53E512M32D1NP-046 WT:B, K4U6E3S4AA-MGCR diff --git a/src/mainboard/google/dedede/variants/beadrix/memory/dram_id.generated.txt b/src/mainboard/google/dedede/variants/beadrix/memory/dram_id.generated.txt index fa24790..3af2e18 100644 --- a/src/mainboard/google/dedede/variants/beadrix/memory/dram_id.generated.txt +++ b/src/mainboard/google/dedede/variants/beadrix/memory/dram_id.generated.txt @@ -1 +1,3 @@ DRAM Part Name ID to assign +MT53E512M32D1NP-046 WT:B 0 (0000) +K4U6E3S4AA-MGCR 0 (0000) diff --git a/src/mainboard/google/dedede/variants/beadrix/memory/mem_parts_used.txt b/src/mainboard/google/dedede/variants/beadrix/memory/mem_parts_used.txt old mode 100644 new mode 100755 index 9621137..ba69c43 --- a/src/mainboard/google/dedede/variants/beadrix/memory/mem_parts_used.txt +++ b/src/mainboard/google/dedede/variants/beadrix/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 -# part_id_gen tool from util/spd_tools. -# See util/spd_tools/README.md for more details and instructions. - -# Part Name +MT53E512M32D1NP-046 WT:B +K4U6E3S4AA-MGCR