[U-Boot] [PATCH 5/5] x86: Add PCI UART related defines in crownbay.h
Bin Meng
bmeng.cn at gmail.com
Fri Dec 19 08:19:28 CET 2014
The Topcliff PCH has 4 UART devices integrated (Device 10, Funciton
1/2/3/4). Add macros to enable them, but by default the legacy serial
port (io addr 0x3f8) is still used on Crown Bay as the console port.
Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---
include/configs/crownbay.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h
index eadb339..7b0966e 100644
--- a/include/configs/crownbay.h
+++ b/include/configs/crownbay.h
@@ -23,6 +23,11 @@
#define CONFIG_X86_SERIAL
#define CONFIG_SMSC_LPC47M
+/* Turn on this macro if using PCI UART as the U-Boot serial console */
+#undef CONFIG_PCI_UART
+#define CONFIG_PCI_UART_DEV \
+ {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TCF_UART_1}
+
#define CONFIG_PCI_MEM_BUS 0x40000000
#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
#define CONFIG_PCI_MEM_SIZE 0x80000000
--
1.8.2.1
More information about the U-Boot
mailing list