]> git.sur5r.net Git - u-boot/commit
serial: powerpc: Implement CONFIG_SERIAL_MULTI into ml2 serial driver
authorMarek Vasut <marex@denx.de>
Thu, 13 Sep 2012 10:34:24 +0000 (12:34 +0200)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:53:53 +0000 (11:53 -0700)
commitd126f2850fb6dc3d828332c9fceb408128871fa3
treee97877022edfb10925a1815481fe368553dfaff1
parent829b3b2e88679d026d46d75eebbc24d3fce2474c
serial: powerpc: Implement CONFIG_SERIAL_MULTI into ml2 serial driver

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