UPSTREAM: soc/intel/quark: Add LPC symbols

Add LPC_DEV and LPC_FUNC symbols

TEST=Build and run on Galileo Gen2

Change-Id: I8485e2671af439f766228d4eaf9677c2ff8ff3f6
Original-Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Original-Reviewed-on: https://review.coreboot.org/14880
Original-Reviewed-by: Martin Roth <martinroth@google.com>
(cherry-picked from commit 4c56a58f63)
Signed-off-by: Martin Roth <martinroth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/346526
Commit-Ready: Stefan Reinauer <reinauer@google.com>
Tested-by: Stefan Reinauer <reinauer@google.com>
Reviewed-by: Stefan Reinauer <reinauer@google.com>
This commit is contained in:
Lee Leahy 2016-05-17 10:06:17 -07:00 committed by chrome-bot
commit a954c62bf1

View file

@ -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_ */