summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-05-20 22:53:01 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-06-06 09:28:46 +0000
commitae7ebcb316f604f22acb1062ccb74b9125f21ec0 (patch)
tree4110d57781871fec570af354685eec43f0436efd /src
parent17dfa7e25c794c99e9cd18372103860dbd0828b8 (diff)
downloadcoreboot-ae7ebcb316f604f22acb1062ccb74b9125f21ec0.tar.xz
mb/google/volteer/var/ripto: 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 ripto and Makefile.inc generated by gen_part_id.go using mem_list_variant.txt. In the final change of the series, all volteer 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: K4U6E3S4AA-MGCL Byte# Current New Explanation 6 0x95 0x94 Signal loading is not used by MRC. Bits 1:0 set to 0. 16 0x48 0x00 Signal loading is not used by MRC. Set to 0x00. 19 0x0F 0xFF As per JEDEC spec, tckMax should be 100ns. So, value should be 0xff as per datasheet. 21,22 0x55,0x00 0x54,0x05 As per datasheet, part supports CAS latencies 20,24,28,32,36. So value should be 0x54, 0x05. 24 0x8C 0x87 taa is .468ns * CAS-36 which results in byte 24 being 0x87 as per datasheet. 123 0x00 0xE5 Fine offset for taa. Expected value is 0xE5 as per datasheet. 124 0x7F 0x00 Fine offset for tckMax. Expected value is 0x00 as per datasheet. 125 0xE1 0xE0 Fine offset for tckMin. As per datasheet tckMin is 0.468ns. So, this comes out to be 0xE0. BUG=b:155239397,b:147321551 Change-Id: Ibb06443a5c7fd80915f66b806cdd7c3ae1275b05 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41614 Reviewed-by: Nick Vaccaro <nvaccaro@google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/volteer/variants/ripto/memory/Makefile.inc5
-rw-r--r--src/mainboard/google/volteer/variants/ripto/memory/dram_id.generated.txt2
-rw-r--r--src/mainboard/google/volteer/variants/ripto/memory/mem_list_variant.txt1
3 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/volteer/variants/ripto/memory/Makefile.inc b/src/mainboard/google/volteer/variants/ripto/memory/Makefile.inc
new file mode 100644
index 0000000000..4c95819cb9
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/ripto/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 = K4U6E3S4AA-MGCL
diff --git a/src/mainboard/google/volteer/variants/ripto/memory/dram_id.generated.txt b/src/mainboard/google/volteer/variants/ripto/memory/dram_id.generated.txt
new file mode 100644
index 0000000000..9bf0bd9af0
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/ripto/memory/dram_id.generated.txt
@@ -0,0 +1,2 @@
+DRAM Part Name ID to assign
+K4U6E3S4AA-MGCL 0 (0000)
diff --git a/src/mainboard/google/volteer/variants/ripto/memory/mem_list_variant.txt b/src/mainboard/google/volteer/variants/ripto/memory/mem_list_variant.txt
new file mode 100644
index 0000000000..a226d2f741
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/ripto/memory/mem_list_variant.txt
@@ -0,0 +1 @@
+K4U6E3S4AA-MGCL