diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-04-29 23:23:28 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-07-12 02:17:45 -0400 |
commit | 635f330fc7883a4cc703bc5ea2b90fc7d7f69e10 (patch) | |
tree | 2895084758f361d1874be7d233fda4683381219d /arch/blackfin/lib | |
parent | 34a6d0b84a25a141123f589b0cfef2bf88afe220 (diff) | |
download | u-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 'arch/blackfin/lib')
-rw-r--r-- | arch/blackfin/lib/board.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c index 362b8c4..e00050c 100644 --- a/arch/blackfin/lib/board.c +++ b/arch/blackfin/lib/board.c @@ -12,6 +12,7 @@ #include <common.h> #include <command.h> #include <stdio_dev.h> +#include <serial.h> #include <environment.h> #include <malloc.h> #include <mmc.h> @@ -265,6 +266,9 @@ void board_init_f(ulong bootflag) init_baudrate(); serial_early_puts("Serial init\n"); serial_init(); +#ifdef CONFIG_SERIAL_MULTI + serial_initialize(); +#endif serial_early_puts("Console init flash\n"); console_init_f(); serial_early_puts("End of early debugging\n"); |