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>
This commit is contained in:
Lee Leahy 2016-05-17 10:06:17 -07:00 committed by Leroy P Leahy
parent 76684bf75b
commit 4c56a58f63
1 changed files with 4 additions and 5 deletions

View File

@ -35,10 +35,9 @@
#define HSUART1_FUNC 5 #define HSUART1_FUNC 5
/* Platform Controller Unit */ /* Platform Controller Unit */
#define LPC_DEV_FUNC PCI_DEVFN(PCI_DEVICE_NUMBER_QNC_LPC, \ #define LPC_DEV PCI_DEVICE_NUMBER_QNC_LPC
PCI_FUNCTION_NUMBER_QNC_LPC) #define LPC_FUNC PCI_FUNCTION_NUMBER_QNC_LPC
#define LPC_BDF PCI_DEV(PCI_BUS_NUMBER_QNC, \ #define LPC_DEV_FUNC PCI_DEVFN(LPC_DEV, LPC_FUNC)
PCI_DEVICE_NUMBER_QNC_LPC, \ #define LPC_BDF PCI_DEV(PCI_BUS_NUMBER_QNC, LPC_DEV, LPC_FUNC)
PCI_FUNCTION_NUMBER_QNC_LPC)
#endif /* _QUARK_PCI_DEVS_H_ */ #endif /* _QUARK_PCI_DEVS_H_ */