]> git.ipfire.org Git - people/ms/u-boot.git/commit
serial: sparc: Implement CONFIG_SERIAL_MULTI into leon2 serial driver
authorMarek Vasut <marex@denx.de>
Thu, 13 Sep 2012 10:25:07 +0000 (12:25 +0200)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:53:52 +0000 (11:53 -0700)
commitaf7be3b6a986c48673ef5bf903146efd3205814b
tree08954114e8ef7417bd79811b6a31f371b053ea3b
parentfcc2074d5799255e6a56a2adc48fcc03f0889e00
serial: sparc: Implement CONFIG_SERIAL_MULTI into leon2 serial driver

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