From 4c56a58f63699dc54383dc4f8402d14ddbca5114 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Tue, 17 May 2016 10:06:17 -0700 Subject: soc/intel/quark: Add LPC symbols Add LPC_DEV and LPC_FUNC symbols TEST=Build and run on Galileo Gen2 Change-Id: I8485e2671af439f766228d4eaf9677c2ff8ff3f6 Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/14880 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/soc/intel/quark/include/soc/pci_devs.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/soc/intel/quark') diff --git a/src/soc/intel/quark/include/soc/pci_devs.h b/src/soc/intel/quark/include/soc/pci_devs.h index 45897bf501..176e77d2cb 100644 --- a/src/soc/intel/quark/include/soc/pci_devs.h +++ b/src/soc/intel/quark/include/soc/pci_devs.h @@ -35,10 +35,9 @@ #define HSUART1_FUNC 5 /* Platform Controller Unit */ -#define LPC_DEV_FUNC PCI_DEVFN(PCI_DEVICE_NUMBER_QNC_LPC, \ - PCI_FUNCTION_NUMBER_QNC_LPC) -#define LPC_BDF PCI_DEV(PCI_BUS_NUMBER_QNC, \ - PCI_DEVICE_NUMBER_QNC_LPC, \ - PCI_FUNCTION_NUMBER_QNC_LPC) +#define LPC_DEV PCI_DEVICE_NUMBER_QNC_LPC +#define LPC_FUNC PCI_FUNCTION_NUMBER_QNC_LPC +#define LPC_DEV_FUNC PCI_DEVFN(LPC_DEV, LPC_FUNC) +#define LPC_BDF PCI_DEV(PCI_BUS_NUMBER_QNC, LPC_DEV, LPC_FUNC) #endif /* _QUARK_PCI_DEVS_H_ */ -- cgit v1.2.3