From: Bin Meng Date: Fri, 19 Dec 2014 15:19:28 +0800 Subject: [U-Boot] [PATCH 5/5] x86: Add PCI UART related defines in crownbay.h In-Reply-To: <1418973568-462-1-git-send-email-bmeng.cn@gmail.com> References: <1418973568-462-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1418973568-462-6-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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