]> git.sur5r.net Git - u-boot/commit
serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc8260 serial drivers
authorMarek Vasut <marex@denx.de>
Wed, 12 Sep 2012 23:34:16 +0000 (01:34 +0200)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:53:51 +0000 (11:53 -0700)
commitd68f4da2fa13f42d2dc970ddc7f8e907d6949e83
treef381a9716f62c42b2d4acfbe08a12e985559ca70
parent2063a54e1487a933b406b5413f4fa3774fd31c91
serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc8260 serial drivers

Implement support for CONFIG_SERIAL_MULTI into both SCC and SMC mpc8260
serial drivers. These drivers were 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 mpc8260 drivers. 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/mpc8260/serial_scc.c
arch/powerpc/cpu/mpc8260/serial_smc.c
common/serial.c