serial: powerpc: Implement CONFIG_SERIAL_MULTI into p3mx serial driver
authorMarek Vasut <marex@denx.de>
Thu, 13 Sep 2012 10:35:54 +0000 (12:35 +0200)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:53:53 +0000 (11:53 -0700)
commit088a4f3cdfcf5f194768f6fc54c96d01ba128d50
treea618734f107fb78a5a1372490b324ffce5fb38c9
parent26d8eaaa48a9fda94a1bbbf02610dcec5eb8bf9f
serial: powerpc: Implement CONFIG_SERIAL_MULTI into p3mx serial driver

Implement support for CONFIG_SERIAL_MULTI into p3mx 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 p3mx 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/prodrive/p3mx/serial.c
common/serial.c