From 76684bf75b83340cff36bc9b6e295891eb140fe5 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Tue, 17 May 2016 10:03:16 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/14879 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/soc/intel/quark/include/soc/pci_devs.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/soc/intel') 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 /* 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_ */ -- cgit v1.2.3