sh: allow earlyprintk baud rate to be set via command line
authorJamie Lenehan <lenehan@twibble.org>
Tue, 19 Dec 2006 03:16:06 +0000 (12:16 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 13 Feb 2007 01:54:44 +0000 (10:54 +0900)
commit703404ea441fc198d03ca3e9edbac6e09b5415f4
tree5af8761c302b7b794ec3db67a9b623cd55858fb2
parent106dac130d6fb6670a0bbfa8c714054990b41b03
sh: allow earlyprintk baud rate to be set via command line

This allows the baud rate for earlyprintk for sh4 without the
standard BIOS to be set via the command line. This uses the same
format as i386 and x86_64, which is:

earlyprintk=serial,ttySC1,38400

The second parameter (ttySC1 above) is usually the console device
name or the io address of the serial port. I allow that to be
specified but ignore it in order to keep the format the same as
i386/x86_64.

Signed-off-by: Jamie Lenehan <lenehan@twibble.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/early_printk.c