[coreboot-gerrit] New patch to review for coreboot: soc/intel/quark: Add LPC symbols
Leroy P Leahy (leroy.p.leahy@intel.com)
gerrit at coreboot.org
Tue May 17 19:31:24 CEST 2016
Leroy P Leahy (leroy.p.leahy at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14880
-gerrit
commit 6b564064d94f694f5ca88abb9bf2296bb1899593
Author: Lee Leahy <leroy.p.leahy at intel.com>
Date: Tue May 17 10:06:17 2016 -0700
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 at intel.com>
---
src/soc/intel/quark/include/soc/pci_devs.h | 9 ++++-----
1 file 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 45897bf..176e77d 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_ */
More information about the coreboot-gerrit
mailing list