From 78a0160bed69dd23e81322eade1416c114164fc3 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Wed, 21 Oct 2020 15:33:13 -0700 Subject: soc/intel/denverton_ns: Add PCH_DEVFN_PMC for finding PMC device In order to support the common PMC functions this device needs to be able to be located with the common lookup macro. BUG=b:160996445 TEST=build intel/harcuvar board Change-Id: If04a82582c07c15bf841d0baa84e31561d211502 Signed-off-by: Duncan Laurie Reviewed-on: https://review.coreboot.org/c/coreboot/+/46642 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/soc/intel/denverton_ns/include/soc/pci_devs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc/intel/denverton_ns') diff --git a/src/soc/intel/denverton_ns/include/soc/pci_devs.h b/src/soc/intel/denverton_ns/include/soc/pci_devs.h index ba251a8048..b6bac0b9a5 100644 --- a/src/soc/intel/denverton_ns/include/soc/pci_devs.h +++ b/src/soc/intel/denverton_ns/include/soc/pci_devs.h @@ -138,6 +138,7 @@ #define PCH_DEV_SLOT_LPC 0x1f #define PCH_DEVFN_LPC _PCH_DEVFN(LPC, 0) +#define PCH_DEVFN_PMC _PCH_DEVFN(LPC, 2) #define PCH_DEVFN_SPI _PCH_DEVFN(LPC, 5) #define PCH_DEV_LPC _PCH_DEV(LPC, 0) #define PCH_DEV_SPI _PCH_DEV(LPC, 5) -- cgit v1.2.3