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>
This commit is contained in:
parent
a19bc34430
commit
123bcb702a
@ -2,4 +2,5 @@
|
|||||||
# util/spd_tools/bin/spd_gen spd/lp5/memory_parts.json lp5
|
# util/spd_tools/bin/spd_gen spd/lp5/memory_parts.json lp5
|
||||||
|
|
||||||
ADL,set-0
|
ADL,set-0
|
||||||
|
MTL,set-0
|
||||||
SBR,set-1
|
SBR,set-1
|
||||||
|
@ -41,6 +41,7 @@ var supportedPlatforms = [...]string{
|
|||||||
"PCO",
|
"PCO",
|
||||||
"CZN",
|
"CZN",
|
||||||
"SBR",
|
"SBR",
|
||||||
|
"MTL",
|
||||||
}
|
}
|
||||||
|
|
||||||
var supportedMemTechs = [...]string{
|
var supportedMemTechs = [...]string{
|
||||||
|
@ -172,7 +172,7 @@ const (
|
|||||||
/* ------------------------------------------------------------------------------------------ */
|
/* ------------------------------------------------------------------------------------------ */
|
||||||
|
|
||||||
var LP5PlatformSetMap = map[int][]int{
|
var LP5PlatformSetMap = map[int][]int{
|
||||||
0: {PlatformADL},
|
0: {PlatformMTL, PlatformADL},
|
||||||
1: {PlatformSBR},
|
1: {PlatformSBR},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,6 +73,7 @@ const (
|
|||||||
PlatformPCO
|
PlatformPCO
|
||||||
PlatformCZN
|
PlatformCZN
|
||||||
PlatformSBR
|
PlatformSBR
|
||||||
|
PlatformMTL
|
||||||
PlatformMax
|
PlatformMax
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -92,6 +93,7 @@ var platformNames = map[int]string{
|
|||||||
PlatformPCO: "PCO",
|
PlatformPCO: "PCO",
|
||||||
PlatformCZN: "CZN",
|
PlatformCZN: "CZN",
|
||||||
PlatformSBR: "SBR",
|
PlatformSBR: "SBR",
|
||||||
|
PlatformMTL: "MTL",
|
||||||
}
|
}
|
||||||
|
|
||||||
var memTechMap = map[string]memTech{
|
var memTechMap = map[string]memTech{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user