util/intelp2m: Add support for TigerLake-H SoC

Add support for TigerLake Halo SoC, based on CNL profile.

Test: Convert GPIO dump from inteltool into coreboot macros for
out-of-tree TGL board.

Change-Id: I26eff225c2045edfe5836283be7b4c63f6b405e8
Signed-off-by: Alicja Michalska <ahplka19@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81587
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Maxim <max.senia.poliak@gmail.com>
This commit is contained in:
Alicja Michalska
2024-03-29 14:01:23 +01:00
committed by Felix Held
parent ce88ae5176
commit c45d5c8c6b
5 changed files with 149 additions and 2 deletions

View File

@@ -28,8 +28,9 @@ const (
LewisburgType uint8 = 1
ApolloType uint8 = 2
CannonType uint8 = 3
AlderType uint8 = 4
JasperType uint8 = 5
TigerType uint8 = 4
AlderType uint8 = 5
JasperType uint8 = 6
)
var key uint8 = SunriseType
@@ -39,6 +40,7 @@ var platform = map[string]uint8{
"lbg": LewisburgType,
"apl": ApolloType,
"cnl": CannonType,
"tgl": TigerType,
"adl": AlderType,
"jsl": JasperType,
}
@@ -67,6 +69,9 @@ func IsPlatformLewisburg() bool {
func IsPlatformCannonLake() bool {
return IsPlatform(CannonType)
}
func IsPlatformTigerLake() bool {
return IsPlatform(TigerType)
}
func IsPlatformAlderLakeH() bool {
return IsPlatform(AlderType)
}