Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/83822?usp=email )
Change subject: util/spd_tools: Add Intel Panther Lake (PTL) platform ......................................................................
util/spd_tools: Add Intel Panther Lake (PTL) platform
This patch add support for PTL platform to the `spd_tools`. This would be useful to create dynamic SPD for fatcat variants.
BUG=b:347669091 TEST=Able to generate SPD for LP5 DRAM part.
Change-Id: I55c3f49439fb1ad961c6866f03594431e54279b9 Signed-off-by: Subrata Banik subratabanik@google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/83822 Reviewed-by: Eric Lai ericllai@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Ravishankar Sarawadi ravishankar.sarawadi@intel.com --- M spd/lp5/platforms_manifest.generated.txt M util/spd_tools/src/part_id_gen/part_id_gen.go M util/spd_tools/src/spd_gen/lp5.go M util/spd_tools/src/spd_gen/spd_gen.go 4 files changed, 5 insertions(+), 1 deletion(-)
Approvals: Ravishankar Sarawadi: Looks good to me, approved Eric Lai: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/spd/lp5/platforms_manifest.generated.txt b/spd/lp5/platforms_manifest.generated.txt index a52acdc..ee0aab9 100644 --- a/spd/lp5/platforms_manifest.generated.txt +++ b/spd/lp5/platforms_manifest.generated.txt @@ -1,6 +1,7 @@ # Generated by: # util/spd_tools/bin/spd_gen spd/lp5/memory_parts.json lp5
+PTL,set-0 MTL,set-0 ADL,set-0 PHX,set-1 diff --git a/util/spd_tools/src/part_id_gen/part_id_gen.go b/util/spd_tools/src/part_id_gen/part_id_gen.go index 719cfd53..de92612 100644 --- a/util/spd_tools/src/part_id_gen/part_id_gen.go +++ b/util/spd_tools/src/part_id_gen/part_id_gen.go @@ -43,6 +43,7 @@ "MDN", "MTL", "PHX", + "PTL", }
var supportedMemTechs = [...]string{ diff --git a/util/spd_tools/src/spd_gen/lp5.go b/util/spd_tools/src/spd_gen/lp5.go index 65a7a57..f3586c7 100644 --- a/util/spd_tools/src/spd_gen/lp5.go +++ b/util/spd_tools/src/spd_gen/lp5.go @@ -176,7 +176,7 @@ /* ------------------------------------------------------------------------------------------ */
var LP5PlatformSetMap = map[int][]int{ - 0: {PlatformMTL, PlatformADL}, + 0: {PlatformPTL, PlatformMTL, PlatformADL}, 1: {PlatformPHX, PlatformMDN}, }
diff --git a/util/spd_tools/src/spd_gen/spd_gen.go b/util/spd_tools/src/spd_gen/spd_gen.go index 9f9c6f5..5c7ed79 100644 --- a/util/spd_tools/src/spd_gen/spd_gen.go +++ b/util/spd_tools/src/spd_gen/spd_gen.go @@ -75,6 +75,7 @@ PlatformMDN PlatformMTL PlatformPHX + PlatformPTL PlatformMax )
@@ -96,6 +97,7 @@ PlatformMDN: "MDN", PlatformMTL: "MTL", PlatformPHX: "PHX", + PlatformPTL: "PTL", }
var memTechMap = map[string]memTech{