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>
This commit is contained in:
@ -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()]
|
||||
}
|
||||
|
Reference in New Issue
Block a user