From a39d54edce2e899a5813bdfe2d160354eecddb95 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Fri, 29 May 2020 13:43:41 -0700 Subject: mb/google/dedede/var/wheelie: Use auto-generated Makefile.inc using gen_part_id.go This change adds mem_list_variant.txt that contains the list of memory parts used by wheelie and Makefile.inc generated by gen_part_id.go using mem_list_variant.txt. In the final change of the series, all dedede variants will be switched from using the current SPDs to new auto-generated SPDs. Differences in auto-generated SPD from current SPD are as follows: Part: MT53E512M32D2NP-046 WT:E Byte# Current New Explanation 4 0x15 0x16 This part has only 1 die. Hence, density per die is 16Gb. 6 0x90 0x04 1 die in package and 2 channels per die. 9 0x40 0x00 Unused by MRC. 19 0x0F 0xFF As per JEDEC spec, tckMax should be 100ns. So, value should be 0xFF as per datasheet. 123 0x00 0xE5 Fine offset for taa. Expected value is 0xE5 as per datasheet. 125 0xE1 0xE0 Fine offset for tckMin. As per datasheet tckMin is 0.468ns. So, this comes out to be 0xE0. Additionally, manufacturer name bytes are set to 0. Change-Id: If307bfb1d376e32af08af4f020f9e125f6a415dd Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/c/coreboot/+/41879 Tested-by: build bot (Jenkins) Reviewed-by: Karthik Ramasubramanian --- src/mainboard/google/dedede/variants/wheelie/memory/Makefile.inc | 5 +++++ .../google/dedede/variants/wheelie/memory/dram_id.generated.txt | 2 ++ .../google/dedede/variants/wheelie/memory/mem_list_variant.txt | 1 + 3 files changed, 8 insertions(+) create mode 100644 src/mainboard/google/dedede/variants/wheelie/memory/Makefile.inc create mode 100644 src/mainboard/google/dedede/variants/wheelie/memory/dram_id.generated.txt create mode 100644 src/mainboard/google/dedede/variants/wheelie/memory/mem_list_variant.txt (limited to 'src/mainboard') diff --git a/src/mainboard/google/dedede/variants/wheelie/memory/Makefile.inc b/src/mainboard/google/dedede/variants/wheelie/memory/Makefile.inc new file mode 100644 index 0000000000..573213b877 --- /dev/null +++ b/src/mainboard/google/dedede/variants/wheelie/memory/Makefile.inc @@ -0,0 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-or-later +## This is an auto-generated file. Do not edit!! + +SPD_SOURCES = +SPD_SOURCES += spd-1.hex # ID = 0(0b0000) Parts = MT53E512M32D2NP-046 WT:E diff --git a/src/mainboard/google/dedede/variants/wheelie/memory/dram_id.generated.txt b/src/mainboard/google/dedede/variants/wheelie/memory/dram_id.generated.txt new file mode 100644 index 0000000000..a825c3ae8c --- /dev/null +++ b/src/mainboard/google/dedede/variants/wheelie/memory/dram_id.generated.txt @@ -0,0 +1,2 @@ +DRAM Part Name ID to assign +MT53E512M32D2NP-046 WT:E 0 (0000) diff --git a/src/mainboard/google/dedede/variants/wheelie/memory/mem_list_variant.txt b/src/mainboard/google/dedede/variants/wheelie/memory/mem_list_variant.txt new file mode 100644 index 0000000000..20887c1b63 --- /dev/null +++ b/src/mainboard/google/dedede/variants/wheelie/memory/mem_list_variant.txt @@ -0,0 +1 @@ +MT53E512M32D2NP-046 WT:E -- cgit v1.2.3