summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/quark/include/soc/pci_devs.h9
1 files changed, 4 insertions, 5 deletions
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_ */