serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc85xx serial driver
authorMarek Vasut <marex@denx.de>
Wed, 12 Sep 2012 23:38:52 +0000 (01:38 +0200)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:53:52 +0000 (11:53 -0700)
commit7a31154627468a37cf24780832fc614056a71035
tree43d09918d0eef544a7e62d6bdae42b106c66ad9c
parentd68f4da2fa13f42d2dc970ddc7f8e907d6949e83
serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc85xx serial driver

Implement support for CONFIG_SERIAL_MULTI into mpc85xx 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 mpc85xx 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>
arch/powerpc/cpu/mpc85xx/serial_scc.c
common/serial.c