[coreboot-gerrit] New patch to review for coreboot: soc/intel/quark: Reformat include/soc/pci_devs.h

Leroy P Leahy (leroy.p.leahy@intel.com) gerrit at coreboot.org
Tue May 17 19:31:22 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/14879

-gerrit

commit 98ec5c779e99934f6dc0ae919644b20d87186710
Author: Lee Leahy <leroy.p.leahy at intel.com>
Date:   Tue May 17 10:03:16 2016 -0700

    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 at intel.com>
---
 src/soc/intel/quark/include/soc/pci_devs.h | 15 +++++++++------
 1 file 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 a912c4c..45897bf 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_ */



More information about the coreboot-gerrit mailing list