summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-05-29 13:43:41 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-06-06 09:30:22 +0000
commita39d54edce2e899a5813bdfe2d160354eecddb95 (patch)
treed52b60332a5d84d04ef3fd43230c154081a2d33a /src
parentf3a642de6dddaf4d7b284fc7198f6e63cd8a8088 (diff)
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 <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41879 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/dedede/variants/wheelie/memory/Makefile.inc5
-rw-r--r--src/mainboard/google/dedede/variants/wheelie/memory/dram_id.generated.txt2
-rw-r--r--src/mainboard/google/dedede/variants/wheelie/memory/mem_list_variant.txt1
3 files changed, 8 insertions, 0 deletions
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