summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-29 23:23:28 -0400
committerMike Frysinger <vapier@gentoo.org>2011-07-12 02:17:45 -0400
commit635f330fc7883a4cc703bc5ea2b90fc7d7f69e10 (patch)
tree2895084758f361d1874be7d233fda4683381219d /common
parent34a6d0b84a25a141123f589b0cfef2bf88afe220 (diff)
downloadu-boot-imx-635f330fc7883a4cc703bc5ea2b90fc7d7f69e10.zip
u-boot-imx-635f330fc7883a4cc703bc5ea2b90fc7d7f69e10.tar.gz
u-boot-imx-635f330fc7883a4cc703bc5ea2b90fc7d7f69e10.tar.bz2
Blackfin: uart: add multiple serial support
This brings CONFIG_SERIAL_MULTI support to the Blackfin on-chip UARTs. Ends up adding only ~512bytes per additional UART. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common')
-rw-r--r--common/serial.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/serial.c b/common/serial.c
index 8ebf9a5..7a69fc1 100644
--- a/common/serial.c
+++ b/common/serial.c
@@ -173,6 +173,9 @@ void serial_initialize (void)
serial_register(&serial6_device);
#endif
#endif
+#if defined(CONFIG_SYS_BFIN_UART)
+ serial_register_bfin_uart();
+#endif
serial_assign (default_serial_console ()->name);
}