diff options
Diffstat (limited to 'util/intelp2m/config')
-rw-r--r-- | util/intelp2m/config/config.go | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/util/intelp2m/config/config.go b/util/intelp2m/config/config.go index 051c5803b4..5578a05853 100644 --- a/util/intelp2m/config/config.go +++ b/util/intelp2m/config/config.go @@ -24,14 +24,15 @@ func TemplateGet() int { } const ( - SunriseType uint8 = 0 - LewisburgType uint8 = 1 - ApolloType uint8 = 2 - CannonType uint8 = 3 - TigerType uint8 = 4 - AlderType uint8 = 5 - JasperType uint8 = 6 - MeteorType uint8 = 7 + SunriseType uint8 = 0 + LewisburgType uint8 = 1 + ApolloType uint8 = 2 + CannonType uint8 = 3 + TigerType uint8 = 4 + AlderType uint8 = 5 + JasperType uint8 = 6 + MeteorType uint8 = 7 + EmmitsburgType uint8 = 8 ) var key uint8 = SunriseType @@ -45,6 +46,7 @@ var platform = map[string]uint8{ "adl": AlderType, "jsl": JasperType, "mtl": MeteorType, + "ebg": EmmitsburgType, } func PlatformSet(name string) int { if platformType, valid := platform[name]; valid { @@ -80,6 +82,9 @@ func IsPlatformAlderLakeH() bool { func IsPlatformMeteorLake() bool { return IsPlatform(MeteorType) } +func IsPlatformEmmitsburg() bool { + return IsPlatform(EmmitsburgType) +} var InputRegDumpFile *os.File = nil var OutputGenFile *os.File = nil |