]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc8220 serial driver
authorMarek Vasut <marex@denx.de>
Wed, 12 Sep 2012 23:29:31 +0000 (01:29 +0200)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:53:51 +0000 (11:53 -0700)
commit2063a54e1487a933b406b5413f4fa3774fd31c91
treebe76ae28f6859911d6f47d4da12f8fe70537cace
parentb57c652802ca735c80810c599c4eae9a6752415d
serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc8220 serial driver

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