summaryrefslogtreecommitdiff
path: root/src/soc/intel/quark/include
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2016-05-17 10:03:16 -0700
committerLeroy P Leahy <leroy.p.leahy@intel.com>2016-05-17 20:16:59 +0200
commit76684bf75b83340cff36bc9b6e295891eb140fe5 (patch)
treeed935e34316518d8948f6bb19270b6b8f87e3778 /src/soc/intel/quark/include
parentd3989a26c17118b5a40cd3b05e701ae12151bd90 (diff)
soc/intel/quark: Reformat include/soc/pci_devs.h
Replace # define with #define Align the right hand column to prepare for further expansion TEST=Build and run on Galileo Gen2 Change-Id: Ie4d9fb56d52d7291be5523d31c1d3aa51f94dcd6 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/14879 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/intel/quark/include')
-rw-r--r--src/soc/intel/quark/include/soc/pci_devs.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/soc/intel/quark/include/soc/pci_devs.h b/src/soc/intel/quark/include/soc/pci_devs.h
index a912c4c807..45897bf501 100644
--- a/src/soc/intel/quark/include/soc/pci_devs.h
+++ b/src/soc/intel/quark/include/soc/pci_devs.h
@@ -23,19 +23,22 @@
#include <soc/QuarkNcSocId.h>
/* DEVICE 0 (Memroy Controller Hub) */
-#define MC_BDF PCI_DEV(PCI_BUS_NUMBER_QNC, MC_DEV, MC_FUN)
+#define MC_BDF PCI_DEV(PCI_BUS_NUMBER_QNC, MC_DEV, MC_FUN)
/* Device IDs */
#define HSUART_DEVID 0x0936
#define EHCI_DEVID 0x0939
/* IO Fabric 1 */
-#define SIO1_DEV 0x14
-# define HSUART1_DEV SIO1_DEV
-# define HSUART1_FUNC 5
+#define SIO1_DEV 0x14
+#define HSUART1_DEV SIO1_DEV
+#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_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)
#endif /* _QUARK_PCI_DEVS_H_ */