diff options
author | Alicja Michalska <ahplka19@gmail.com> | 2024-03-29 14:01:23 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-04-04 20:21:08 +0000 |
commit | c45d5c8c6be825375dd11c1e18b55b6e3975615f (patch) | |
tree | da4225f8d9338430cc5594402c794ffa9dc9c371 /util/intelp2m/config | |
parent | ce88ae517666e6a6b3391b661b7c16cbf48de9cf (diff) |
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>
Diffstat (limited to 'util/intelp2m/config')
-rw-r--r-- | util/intelp2m/config/config.go | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/util/intelp2m/config/config.go b/util/intelp2m/config/config.go index 7b491b1eb3..62242b916c 100644 --- a/util/intelp2m/config/config.go +++ b/util/intelp2m/config/config.go @@ -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) } |