diff options
author | Marek Vasut <marex@denx.de> | 2012-09-14 22:34:22 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-15 11:53:55 -0700 |
commit | 8b029db85916b1332c5f9cae024a91ddbe418b8e (patch) | |
tree | 016ddd17b1c24c92557ae77b41f58637c65332d4 /common | |
parent | cef46b7792d4171bc7b17a3a4ae4c53bb6e78654 (diff) | |
download | u-boot-imx-8b029db85916b1332c5f9cae024a91ddbe418b8e.zip u-boot-imx-8b029db85916b1332c5f9cae024a91ddbe418b8e.tar.gz u-boot-imx-8b029db85916b1332c5f9cae024a91ddbe418b8e.tar.bz2 |
serial: arm: Implement CONFIG_SERIAL_MULTI into clps7111 serial driver
Implement support for CONFIG_SERIAL_MULTI into clps7111 serial driver.
This driver was so far only usable directly, but this patch also adds
support for the multi method. This allows using more than one serial
driver alongside the clps7111 driver. Also, add a weak implementation
of default_serial_console() returning this driver.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Tom Rini <trini@ti.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/serial.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/serial.c b/common/serial.c index 7ca65e1..0e0e00b 100644 --- a/common/serial.c +++ b/common/serial.c @@ -80,6 +80,7 @@ serial_initfunc(oc_serial_initialize); serial_initfunc(s3c4510b_serial_initialize); serial_initfunc(s3c64xx_serial_initialize); serial_initfunc(sandbox_serial_initialize); +serial_initfunc(clps7111_serial_initialize); void serial_register(struct serial_device *dev) { @@ -138,6 +139,7 @@ void serial_initialize(void) s3c4510b_serial_initialize(); s3c64xx_serial_initialize(); sandbox_serial_initialize(); + clps7111_serial_initialize(); serial_assign(default_serial_console()->name); } |