diff options
author | Karthikeyan Ramasubramanian <kramasub@google.com> | 2023-03-31 15:24:00 -0600 |
---|---|---|
committer | Jakub Czapiga <jacz@semihalf.com> | 2023-04-05 10:01:15 +0000 |
commit | 9e45e32420eda750afea9f6e4a3e6de42ba4152b (patch) | |
tree | ea5127277ca07fd519d896ca19f14ce8fa65a462 /util/spd_tools/src/spd_gen | |
parent | 417fc15d8a24a6be75e46bdcad060f3488776609 (diff) |
util/spd_tools: Add support for Phoenix platform
Update spd_gen and part_id_gen utilities to accommodate Phoenix platform
so that SPD can be generated for the memory parts used in that platform.
SPD requirements for Phoenix and Mendocino platforms are identical.
BUG=b:273383819
TEST=Run spd_gen and ensure that both Mendocino and Phoenix platforms
share the platform manifest for LP5 memory parts.
Change-Id: I7a12f73065864f08db8922c1a69eb503865a25b1
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74125
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jon Murphy <jpmurphy@google.com>
Diffstat (limited to 'util/spd_tools/src/spd_gen')
-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 |
2 files changed, 3 insertions, 1 deletions
diff --git a/util/spd_tools/src/spd_gen/lp5.go b/util/spd_tools/src/spd_gen/lp5.go index 3c6495c3b6..65a7a57c60 100644 --- a/util/spd_tools/src/spd_gen/lp5.go +++ b/util/spd_tools/src/spd_gen/lp5.go @@ -177,7 +177,7 @@ const ( var LP5PlatformSetMap = map[int][]int{ 0: {PlatformMTL, PlatformADL}, - 1: {PlatformMDN}, + 1: {PlatformPHX, PlatformMDN}, } var LP5SetInfo = map[int]LP5Set{ diff --git a/util/spd_tools/src/spd_gen/spd_gen.go b/util/spd_tools/src/spd_gen/spd_gen.go index d25490504a..9f9c6f5e0c 100644 --- a/util/spd_tools/src/spd_gen/spd_gen.go +++ b/util/spd_tools/src/spd_gen/spd_gen.go @@ -74,6 +74,7 @@ const ( PlatformCZN PlatformMDN PlatformMTL + PlatformPHX PlatformMax ) @@ -94,6 +95,7 @@ var platformNames = map[int]string{ PlatformCZN: "CZN", PlatformMDN: "MDN", PlatformMTL: "MTL", + PlatformPHX: "PHX", } var memTechMap = map[string]memTech{ |