]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
serial: sparc: Implement CONFIG_SERIAL_MULTI into leon3 serial driver
authorMarek Vasut <marex@denx.de>
Thu, 13 Sep 2012 10:25:48 +0000 (12:25 +0200)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:53:52 +0000 (11:53 -0700)
commit29b5ff7f8e392cafc91476342a7ee5bd683ee0ec
tree947efe223e1cd4ca6944755a755631785b49e7a4
parentaf7be3b6a986c48673ef5bf903146efd3205814b
serial: sparc: Implement CONFIG_SERIAL_MULTI into leon3 serial driver

Implement support for CONFIG_SERIAL_MULTI into leon3 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 leon3 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: Peter Tyser <ptyser@xes-inc.com>
arch/sparc/cpu/leon3/serial.c
common/serial.c