diff options
author | Fabian Meyer <fabian.meyer@student.kit.edu> | 2024-05-06 16:54:48 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-06-17 14:30:28 +0000 |
commit | 92e372bb3510fecb1cf280c7a705ce9c69773d7b (patch) | |
tree | dfaaf1f08ede2cb7f46a8b561504f605e9c60b85 /util/intelp2m/parser | |
parent | 2fb6eec811e6421392442ef0e5902f55fd34d0e4 (diff) |
util/intelp2m: Add support for Emmitsburg macro generation
Test: Generated GPIO for ASRock Rack SPC741D8-2L2T/BCM.
Change-Id: Ib7ded47fb1c0b87ebb3cecaf3e41319ac552b797
Signed-off-by: Fabian Meyer <fabian.meyer@student.kit.edu>
Co-authored-by: Yussuf Khalil <yussuf.khalil@kit.edu>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82204
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Maxim <max.senia.poliak@gmail.com>
Diffstat (limited to 'util/intelp2m/parser')
-rw-r--r-- | util/intelp2m/parser/parser.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/util/intelp2m/parser/parser.go b/util/intelp2m/parser/parser.go index b7b41412e5..fd3191d5b1 100644 --- a/util/intelp2m/parser/parser.go +++ b/util/intelp2m/parser/parser.go @@ -15,6 +15,7 @@ import ( "review.coreboot.org/coreboot.git/util/intelp2m/platforms/adl" "review.coreboot.org/coreboot.git/util/intelp2m/platforms/jsl" "review.coreboot.org/coreboot.git/util/intelp2m/platforms/mtl" + "review.coreboot.org/coreboot.git/util/intelp2m/platforms/ebg" "review.coreboot.org/coreboot.git/util/intelp2m/config" ) @@ -156,6 +157,12 @@ func (parser *ParserData) PlatformSpecificInterfaceSet() { config.AlderType : adl.PlatformSpecific{}, config.JasperType : jsl.PlatformSpecific{}, config.MeteorType : mtl.PlatformSpecific{}, + // See platforms/ebg/macro.go + config.EmmitsburgType : ebg.PlatformSpecific{ + InheritanceTemplate : cnl.PlatformSpecific{ + InheritanceTemplate : snr.PlatformSpecific{}, + }, + }, } parser.platform = platform[config.PlatformGet()] } |