From 05d6f5a488380c1c7bf98f91700c17d59f466cc0 Mon Sep 17 00:00:00 2001 From: Kyle Lin Date: Tue, 14 Feb 2023 16:52:50 +0800 Subject: [PATCH] util/spd_tools/src/spd_gen/lp5.go: Support LP5X 8533Mbps Add support for LP5X 8533Mbps in SPD tool. BUG=b:263189532 TEST=None Change-Id: I72b02514f68647dda996822f910db8bc93f61ca4 Signed-off-by: Kyle Lin Reviewed-on: https://review.coreboot.org/c/coreboot/+/73038 Tested-by: build bot (Jenkins) Reviewed-by: Marx Wang Reviewed-by: Subrata Banik Reviewed-by: Nick Vaccaro --- util/spd_tools/src/spd_gen/lp5.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/util/spd_tools/src/spd_gen/lp5.go b/util/spd_tools/src/spd_gen/lp5.go index fbcb44caac..3c6495c3b6 100644 --- a/util/spd_tools/src/spd_gen/lp5.go +++ b/util/spd_tools/src/spd_gen/lp5.go @@ -209,6 +209,7 @@ var LP5SetInfo = map[int]LP5Set{ * = 1 / (speed grade / 2 / WCK:CK) // "double data rate" */ speedToTCKMinPs: map[int]int{ + 8533: 937, /* 1 / (8533 / 2 / 4) */ 7500: 1066, /* 1 / (7500 / 2 / 4) */ 6400: 1250, /* 1 / (6400 / 2 / 4) */ 5500: 1455, /* 1 / (5500 / 2 / 4) */ @@ -373,6 +374,10 @@ var LP5BankArchToSPDEncoding = map[int]LP5BankArchParams{ * From Table 220 of JESD209-5B, using a 4:1 WCK:CK ratio and Set 0. */ var LP5SpeedMbpsToSPDEncoding = map[int]LP5SpeedParams{ + 8533: { + defaultTCKMinPs: 234, /* 1 / (8533 / 2) */ + MaxCASLatency: 23, + }, 7500: { defaultTCKMinPs: 266, /* 1 / (7500 / 2) */ MaxCASLatency: 20,