summaryrefslogtreecommitdiff
path: root/common/serial.c
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2006-06-30 18:19:42 +0200
committerMarian Balakowicz <m8@semihalf.com>2006-06-30 18:19:42 +0200
commitf6e5739a68131998a5ae8aa0cf56a0316f810200 (patch)
tree010b89799af2478323c7f1cc04665b51b5cc4e50 /common/serial.c
parentf73e73ba0e422e6f79030d77286dd57becaee16f (diff)
parent6c5879f380be38d85fef0d3aba3353358f4b2ff4 (diff)
downloadu-boot-imx-f6e5739a68131998a5ae8aa0cf56a0316f810200.zip
u-boot-imx-f6e5739a68131998a5ae8aa0cf56a0316f810200.tar.gz
u-boot-imx-f6e5739a68131998a5ae8aa0cf56a0316f810200.tar.bz2
Merge: Add support for AMCC 440SPe CPU based eval board (Yucca).
Diffstat (limited to 'common/serial.c')
-rw-r--r--common/serial.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/serial.c b/common/serial.c
index 7b29951..38057d2 100644
--- a/common/serial.c
+++ b/common/serial.c
@@ -42,7 +42,11 @@ struct serial_device *default_serial_console (void)
return &serial_scc_device;
#elif defined(CONFIG_405GP) || defined(CONFIG_405CR) || defined(CONFIG_440) \
|| defined(CONFIG_405EP) || defined(CONFIG_MPC5xxx)
- return &serial0_device;
+#if defined(CONFIG_UART1_CONSOLE)
+ return &serial1_device;
+#else
+ return &serial0_device;
+#endif
#else
#error No default console
#endif