commit | 49d0eeeb9aad2929a9137b8a36e7f9be015eb668 | [log] [tgz] |
---|---|---|
author | Marian Balakowicz <m8@semihalf.com> | Fri Jun 30 16:30:46 2006 +0200 |
committer | Marian Balakowicz <m8@semihalf.com> | Fri Jun 30 16:30:46 2006 +0200 |
tree | 32b48cff57dafc910c7b0dfdd6c5b99109c21e46 | |
parent | b55b60ebe5ba47d65741af9ffa2e1cdd61b7135a [diff] [blame] |
Add support for AMCC 440SPe CPU based eval board (Yucca).
diff --git a/common/serial.c b/common/serial.c index 22d8fd0..d725a3c 100644 --- a/common/serial.c +++ b/common/serial.c
@@ -40,7 +40,11 @@ return &serial_scc_device; #elif defined(CONFIG_405GP) || defined(CONFIG_405CR) || defined(CONFIG_440) \ || defined(CONFIG_405EP) - return &serial0_device; +#if defined(CONFIG_UART1_CONSOLE) + return &serial1_device; +#else + return &serial0_device; +#endif #else #error No default console #endif