summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2016-05-17 10:06:17 -0700
committerLeroy P Leahy <leroy.p.leahy@intel.com>2016-05-17 20:18:04 +0200
commit4c56a58f63699dc54383dc4f8402d14ddbca5114 (patch)
treea2013847293eadcda5f96a1a235f2b0fe7f9dbc4 /src/soc/intel
parent76684bf75b83340cff36bc9b6e295891eb140fe5 (diff)
downloadcoreboot-4c56a58f63699dc54383dc4f8402d14ddbca5114.tar.xz
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 <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/14880 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/intel')
-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_ */