From 8d8a98650b36383cd5b31c8af9f1b971ea63beed Mon Sep 17 00:00:00 2001 From: Tyler Wang Date: Tue, 7 Sep 2021 10:26:21 +0800 Subject: [PATCH] mb/google/dedede/var/magolor: Generate SPD ID for supported part Add supported memory parts in mem_parts_used.txt, and generate SPD id for this part. MT53E512M32D1NP-046 WT:B BUG=b:199032134 TEST=emerge-dedede coreboot Signed-off-by: Tyler Wang Change-Id: Ic9ccee7c0957119a69ee179854cf13d30db40621 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57435 Tested-by: build bot (Jenkins) Reviewed-by: Henry Sun Reviewed-by: Karthik Ramasubramanian --- .../google/dedede/variants/magolor/memory/Makefile.inc | 2 +- .../google/dedede/variants/magolor/memory/dram_id.generated.txt | 1 + .../google/dedede/variants/magolor/memory/mem_list_variant.txt | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mainboard/google/dedede/variants/magolor/memory/Makefile.inc b/src/mainboard/google/dedede/variants/magolor/memory/Makefile.inc index 285df73c2e..7e3addfada 100644 --- a/src/mainboard/google/dedede/variants/magolor/memory/Makefile.inc +++ b/src/mainboard/google/dedede/variants/magolor/memory/Makefile.inc @@ -2,6 +2,6 @@ ## This is an auto-generated file. Do not edit!! SPD_SOURCES = -SPD_SOURCES += lp4x-spd-1.hex # ID = 0(0b0000) Parts = MT53E512M32D2NP-046 WT:E, K4U6E3S4AA-MGCR, H9HCNNNBKMMLXR-NEE +SPD_SOURCES += lp4x-spd-1.hex # ID = 0(0b0000) Parts = MT53E512M32D2NP-046 WT:E, K4U6E3S4AA-MGCR, H9HCNNNBKMMLXR-NEE, MT53E512M32D1NP-046 WT:B SPD_SOURCES += lp4x-spd-4.hex # ID = 1(0b0001) Parts = MT53E1G32D2NP-046 WT:A SPD_SOURCES += lp4x-spd-3.hex # ID = 2(0b0010) Parts = K4UBE3D4AA-MGCR diff --git a/src/mainboard/google/dedede/variants/magolor/memory/dram_id.generated.txt b/src/mainboard/google/dedede/variants/magolor/memory/dram_id.generated.txt index 100c322e91..f89d170cd5 100644 --- a/src/mainboard/google/dedede/variants/magolor/memory/dram_id.generated.txt +++ b/src/mainboard/google/dedede/variants/magolor/memory/dram_id.generated.txt @@ -4,3 +4,4 @@ K4U6E3S4AA-MGCR 0 (0000) H9HCNNNBKMMLXR-NEE 0 (0000) MT53E1G32D2NP-046 WT:A 1 (0001) K4UBE3D4AA-MGCR 2 (0010) +MT53E512M32D1NP-046 WT:B 0 (0000) diff --git a/src/mainboard/google/dedede/variants/magolor/memory/mem_list_variant.txt b/src/mainboard/google/dedede/variants/magolor/memory/mem_list_variant.txt index f05a5af118..0b887fda95 100644 --- a/src/mainboard/google/dedede/variants/magolor/memory/mem_list_variant.txt +++ b/src/mainboard/google/dedede/variants/magolor/memory/mem_list_variant.txt @@ -3,3 +3,4 @@ K4U6E3S4AA-MGCR H9HCNNNBKMMLXR-NEE MT53E1G32D2NP-046 WT:A K4UBE3D4AA-MGCR +MT53E512M32D1NP-046 WT:B