summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-08-17 00:36:51 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-08-17 00:36:51 +0200
commit463764c893a657124eb2818e3103a04171bcbda1 (patch)
tree2e24da02fc876602b2cb38e6e3b5f8f5fe6953df /include
parentc72d9c528517e629e146ca9ce101a4888c45fac8 (diff)
downloadbarebox-463764c893a657124eb2818e3103a04171bcbda1.tar.gz
barebox-463764c893a657124eb2818e3103a04171bcbda1.tar.xz
Add debug console on COM12 for MCC200 board
Diffstat (limited to 'include')
-rw-r--r--include/configs/mcc200.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/configs/mcc200.h b/include/configs/mcc200.h
index ce33b85c96..563f7978d5 100644
--- a/include/configs/mcc200.h
+++ b/include/configs/mcc200.h
@@ -51,15 +51,20 @@
* To select console on the one of 8 external UARTs,
* define CONFIG_QUART_CONSOLE as 1, 2, 3, or 4 for the first Quad UART,
* or as 5, 6, 7, or 8 for the second Quad UART.
+ * COM11, COM12, COM13, COM14 are located on the second Quad UART.
*
* CONFIG_PSC_CONSOLE must be undefined in this case.
*/
-/* #define CONFIG_QUART_CONSOLE 1 */ /* console is on UART1 of QUART1 */
+#ifdef CONFIG_CONSOLE_COM12
+#define CONFIG_QUART_CONSOLE 6 /* console is on UARTF of QUART2 */
+#else
+#define CONFIG_QUART_CONSOLE 8 /* console is on UARTH of QUART2 */
+#endif
/*
* To select console on PSC1, define CONFIG_PSC_CONSOLE as 1
* and undefine CONFIG_QUART_CONSOLE.
*/
-#define CONFIG_PSC_CONSOLE 1 /* console is on PSC1 */
+/*#define CONFIG_PSC_CONSOLE 1 */ /* console is on PSC1 */
#if defined(CONFIG_QUART_CONSOLE) && defined(CONFIG_PSC_CONSOLE)
#error "Select only one console device!"
#endif