serial: arm: Implement CONFIG_SERIAL_MULTI into lpc32xx serial driver
authorMarek Vasut <marex@denx.de>
Thu, 13 Sep 2012 14:51:02 +0000 (16:51 +0200)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:53:54 +0000 (11:53 -0700)
commite503f90a5764856b932aeaa9d66c60f037852557
tree388e722802bd8be25c249a1d2c444c79e4fce446
parentcfba4573f6cc2a888ae7ceab6bba3c3dab04f3dd
serial: arm: Implement CONFIG_SERIAL_MULTI into lpc32xx serial driver

Implement support for CONFIG_SERIAL_MULTI into lpc32xx 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 lpc32xx 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>
Cc: Vladimir Zapolskiy <vz@mleia.com>
common/serial.c
drivers/serial/lpc32xx_hsuart.c