]> git.ipfire.org Git - people/ms/u-boot.git/commit - drivers/serial/serial.c
serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc5xx serial driver
authorMarek Vasut <marex@denx.de>
Wed, 12 Sep 2012 23:26:42 +0000 (01:26 +0200)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:53:51 +0000 (11:53 -0700)
commitb57c652802ca735c80810c599c4eae9a6752415d
tree42162895ff24df50f25c99dc817eef438e9b9f9f
parent6cb3273d11368363c630ad0192b704641cc9b604
serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc5xx serial driver

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