Add a GPIO macro that allows a pin to be routed to the APIC with the input inverted. This allows a normal interrupt to get used as a GPE during firmware and still be used as a perhiperal interrupt in the kernel.
BUG=chrome-os-partner:58666 TEST=boot en eve and use TPM IRQ in firmware and OS
Change-Id: I77f727f749fdd5281ff595a9237fe1e634daba96
c806e4c skylake: Add GPIO macro for configuring inverted APIC input
src/soc/intel/skylake/include/soc/gpio.h | 6 ++++++
1 file changed, 6 insertions(+)
Upstream: review.coreboot.org