diff options
author | Subrata Banik <subratabanik@google.com> | 2022-06-28 15:43:00 +0530 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-07-14 12:50:10 +0000 |
commit | 123bcb702a16758eb5cc75346e7bed38339bb44c (patch) | |
tree | 82d0c1d8d969b2ee4fbc7870d59749e754f78b11 /util | |
parent | a19bc34430200f34286f3ba5e8b1df569b69fe8b (diff) |
util/spd_tools: Add Intel Meteor Lake (MTL) platform
This patch add support for MTL platform to the `spd_tools`.
This would be useful to create dynamic SPD for rex variants.
BUG=b:224325352
TEST=Able to generate SPD for LP5 DRAM part.
Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I1db6e3a63d2842c12ef0f256ba1d32b9258670f8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65473
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Diffstat (limited to 'util')
-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 eef7ee3484..e2acbfc43c 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 @@ -41,6 +41,7 @@ var supportedPlatforms = [...]string{ "PCO", "CZN", "SBR", + "MTL", } var supportedMemTechs = [...]string{ diff --git a/util/spd_tools/src/spd_gen/lp5.go b/util/spd_tools/src/spd_gen/lp5.go index 060cb2ad69..7d355a7afe 100644 --- a/util/spd_tools/src/spd_gen/lp5.go +++ b/util/spd_tools/src/spd_gen/lp5.go @@ -172,7 +172,7 @@ const ( /* ------------------------------------------------------------------------------------------ */ var LP5PlatformSetMap = map[int][]int{ - 0: {PlatformADL}, + 0: {PlatformMTL, PlatformADL}, 1: {PlatformSBR}, } diff --git a/util/spd_tools/src/spd_gen/spd_gen.go b/util/spd_tools/src/spd_gen/spd_gen.go index 9e939f0fed..f8eb52896b 100644 --- a/util/spd_tools/src/spd_gen/spd_gen.go +++ b/util/spd_tools/src/spd_gen/spd_gen.go @@ -73,6 +73,7 @@ const ( PlatformPCO PlatformCZN PlatformSBR + PlatformMTL PlatformMax ) @@ -92,6 +93,7 @@ var platformNames = map[int]string{ PlatformPCO: "PCO", PlatformCZN: "CZN", PlatformSBR: "SBR", + PlatformMTL: "MTL", } var memTechMap = map[string]memTech{ |