summaryrefslogtreecommitdiff
path: root/util/intelp2m/parser
diff options
context:
space:
mode:
authorMichał Kopeć <michal.kopec@3mdeb.com>2022-04-06 10:15:22 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-05-25 23:25:25 +0000
commitd3b550d47c658453f0775a3bbb071a4330d27398 (patch)
treeaa4a61c68590dba86d90dd10e99be600a8840314 /util/intelp2m/parser
parent68f4f6ea49415453c994a4b9091f15de285a0407 (diff)
util/intelp2m: Add support for Alder Lake macro generation
Add support for Alder Lake as a separate parsing profile, copying the existing 'Cannon' profile and adjusting for differences in reset mapping and GPIO macro generation. TEST=Generate GPIO macros for MSI PRO Z690-A Change-Id: I5871394bcb0636c2c803607ffb129441aa934417 Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63403 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com>
Diffstat (limited to 'util/intelp2m/parser')
-rw-r--r--util/intelp2m/parser/parser.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/intelp2m/parser/parser.go b/util/intelp2m/parser/parser.go
index bfcdff8859..34c961cdea 100644
--- a/util/intelp2m/parser/parser.go
+++ b/util/intelp2m/parser/parser.go
@@ -10,6 +10,7 @@ import (
"../platforms/lbg"
"../platforms/apl"
"../platforms/cnl"
+ "../platforms/adl"
"../config"
)
@@ -147,6 +148,7 @@ func (parser *ParserData) PlatformSpecificInterfaceSet() {
config.CannonType : cnl.PlatformSpecific{
InheritanceTemplate : snr.PlatformSpecific{},
},
+ config.AlderType : adl.PlatformSpecific{},
}
parser.platform = platform[config.PlatformGet()]
}