summaryrefslogtreecommitdiff
path: root/util/intelp2m/config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'util/intelp2m/config/config.go')
-rw-r--r--util/intelp2m/config/config.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/util/intelp2m/config/config.go b/util/intelp2m/config/config.go
index 16fb4d6e01..4d2a700c54 100644
--- a/util/intelp2m/config/config.go
+++ b/util/intelp2m/config/config.go
@@ -28,6 +28,7 @@ const (
LewisburgType uint8 = 1
ApolloType uint8 = 2
CannonType uint8 = 3
+ AlderType uint8 = 4
)
var key uint8 = SunriseType
@@ -36,7 +37,8 @@ var platform = map[string]uint8{
"snr": SunriseType,
"lbg": LewisburgType,
"apl": ApolloType,
- "cnl": CannonType}
+ "cnl": CannonType,
+ "adl": AlderType}
func PlatformSet(name string) int {
if platformType, valid := platform[name]; valid {
key = platformType
@@ -62,6 +64,9 @@ func IsPlatformLewisburg() bool {
func IsPlatformCannonLake() bool {
return IsPlatform(CannonType)
}
+func IsPlatformAlderLakeH() bool {
+ return IsPlatform(AlderType)
+}
var InputRegDumpFile *os.File = nil
var OutputGenFile *os.File = nil