diff options
Diffstat (limited to 'common/serial.c')
-rw-r--r-- | common/serial.c | 6 |
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 |