MIPS: BCM47xx: Swap serial console if ttyS1 was specified.
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 27 Nov 2010 16:46:01 +0000 (17:46 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 16 Dec 2010 18:11:00 +0000 (18:11 +0000)
commit1690a7f9ab83f5c823f3044275a4a771a059d5bb
treeadc9521bcf964830a478890d97e250ae5e16a6b5
parent59833fcf48ee7b7c8a01e590aa7b7212305c3077
MIPS: BCM47xx: Swap serial console if ttyS1 was specified.

Some devices like the Netgear WGT634U are using ttyS1 for default console
output. We should switch to that console if it was given in the kernel_args
parameters.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
To: linux-mips@linux-mips.org
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Patchwork: https://patchwork.linux-mips.org/patch/1848/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm47xx/setup.c