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 /include/serial.h | |
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 'include/serial.h')
-rw-r--r-- | include/serial.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/serial.h b/include/serial.h index f21d961..4aa1cdc 100644 --- a/include/serial.h +++ b/include/serial.h @@ -71,6 +71,15 @@ extern struct serial_device serial_ffuart_device; extern struct serial_device serial_btuart_device; extern struct serial_device serial_stuart_device; +#if defined(CONFIG_SYS_BFIN_UART) +extern void serial_register_bfin_uart(void); +extern struct serial_device bfin_serial0_device; +extern struct serial_device bfin_serial1_device; +extern struct serial_device bfin_serial2_device; +extern struct serial_device bfin_serial3_device; +#endif + +extern void serial_register(struct serial_device *); extern void serial_initialize(void); extern void serial_stdio_init(void); extern int serial_assign(char * name); |