diff options
author | Subrata Banik <subratabanik@google.com> | 2024-08-08 13:41:42 +0530 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2024-08-09 09:24:18 +0000 |
commit | d0d41f28d3d83978aa2d0e2768290fdec1232269 (patch) | |
tree | cc9b5eba1adde90e4590e54d3786dfaed2c3a7a8 /util/spd_tools/src | |
parent | c57564d38abf7cc7d1edadf4fa6f2b465848565f (diff) |
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>
Diffstat (limited to 'util/spd_tools/src')
-rw-r--r-- | util/spd_tools/src/part_id_gen/part_id_gen.go | 1 | ||||
-rw-r--r-- | util/spd_tools/src/spd_gen/lp5.go | 2 | ||||
-rw-r--r-- | util/spd_tools/src/spd_gen/spd_gen.go | 2 |
3 files changed, 4 insertions, 1 deletions
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 719cfd5306..de92612b9b 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 @@ var supportedPlatforms = [...]string{ "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 65a7a57c60..f3586c7539 100644 --- a/util/spd_tools/src/spd_gen/lp5.go +++ b/util/spd_tools/src/spd_gen/lp5.go @@ -176,7 +176,7 @@ const ( /* ------------------------------------------------------------------------------------------ */ 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 9f9c6f5e0c..5c7ed79b15 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 @@ const ( PlatformMDN PlatformMTL PlatformPHX + PlatformPTL PlatformMax ) @@ -96,6 +97,7 @@ var platformNames = map[int]string{ PlatformMDN: "MDN", PlatformMTL: "MTL", PlatformPHX: "PHX", + PlatformPTL: "PTL", } var memTechMap = map[string]memTech{ |