util/intelp2m: Support Jasper Lake

Support generating Jasper Lake GPIO configuration from inteltool logs

Change-Id: I519d27e0c91c8d9159224d9bc1c6e49c83270b7a
Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78093
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Maxim <max.senia.poliak@gmail.com>
This commit is contained in:
Jonathon Hall
2023-01-27 18:05:30 -05:00
committed by Felix Held
parent 89aee538a9
commit 1af3e3c5f8
5 changed files with 152 additions and 4 deletions

View File

@@ -28,7 +28,8 @@ const (
LewisburgType uint8 = 1
ApolloType uint8 = 2
CannonType uint8 = 3
AlderType uint8 = 4
AlderType uint8 = 4
JasperType uint8 = 5
)
var key uint8 = SunriseType
@@ -38,7 +39,9 @@ var platform = map[string]uint8{
"lbg": LewisburgType,
"apl": ApolloType,
"cnl": CannonType,
"adl": AlderType}
"adl": AlderType,
"jsl": JasperType,
}
func PlatformSet(name string) int {
if platformType, valid := platform[name]; valid {
key = platformType