summaryrefslogtreecommitdiffstats
path: root/include/configs/mcc200.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-08-30 23:02:10 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-08-30 23:02:10 +0200
commit0fd30252c840ee54d2a80475d6504766d43b8add (patch)
tree1ca4d91cd9ef225477cfc5aeeb9008f08ac587c2 /include/configs/mcc200.h
parent2b75062a0f97ad6ff19d9d2c030d4b29829260f1 (diff)
downloadblackbird-obmc-uboot-0fd30252c840ee54d2a80475d6504766d43b8add.tar.gz
blackbird-obmc-uboot-0fd30252c840ee54d2a80475d6504766d43b8add.zip
Make the serial driver framework work with CONFIG_SERIAL_MULTI enabled
Diffstat (limited to 'include/configs/mcc200.h')
-rw-r--r--include/configs/mcc200.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/configs/mcc200.h b/include/configs/mcc200.h
index fc5781e438..61014ecd1f 100644
--- a/include/configs/mcc200.h
+++ b/include/configs/mcc200.h
@@ -72,12 +72,15 @@
*/
#if !defined(CONFIG_PRS200)
/* MCC200 configuration: */
-#undef CONFIG_PSC_CONSOLE
+#define CONFIG_SERIAL_MULTI 1
+#define CONFIG_PSC_CONSOLE 1 /* PSC1 may be COM */
+#define CONFIG_PSC_CONSOLE2 2 /* PSC2 is PSoC */
#else
/* PRS200 configuration: */
#define CONFIG_PSC_CONSOLE 1 /* console is on PSC1 */
#endif
-#if defined(CONFIG_QUART_CONSOLE) && defined(CONFIG_PSC_CONSOLE)
+#if defined(CONFIG_QUART_CONSOLE) && defined(CONFIG_PSC_CONSOLE) && \
+ !defined(CONFIG_SERIAL_MULTI)
#error "Select only one console device!"
#endif
#define CONFIG_BAUDRATE 115200
OpenPOWER on IntegriCloud