serial: powerpc: Implement CONFIG_SERIAL_MULTI into sconsole serial driver
authorMarek Vasut <marex@denx.de>
Thu, 13 Sep 2012 10:34:49 +0000 (12:34 +0200)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:53:53 +0000 (11:53 -0700)
commit26d8eaaa48a9fda94a1bbbf02610dcec5eb8bf9f
tree5af9ea0026921157bc6d1a2227fd9a7f1d38f088
parentd126f2850fb6dc3d828332c9fceb408128871fa3
serial: powerpc: Implement CONFIG_SERIAL_MULTI into sconsole serial driver

Implement support for CONFIG_SERIAL_MULTI into sconsole 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 sconsole 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: Anatolij Gustschin <agust@denx.de>
Cc: Stefan Roese <sr@denx.de>
board/pcippc2/sconsole.c
common/serial.c