diff options
author | Mark A. Greer <mgreer@mvista.com> | 2007-05-11 20:54:31 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-11 21:32:49 -0400 |
commit | e12deb840ceed7051ab4799ae71b675a83c58c7c (patch) | |
tree | e1adaeb62fda1fa2557c4083f8d51e16a0580a9a /arch/powerpc/boot/serial.c | |
parent | 0f81b11d2a14adaa9b2c944f104e13d72fedc769 (diff) |
[POWERPC] Add bootwrapper support for Marvell MPSC
The bootwrapper requires a serial driver to allow cmdline editing
and information reporting on the console. This driver is required
by platforms that boot a zImage and use the MPSC for the console.
Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/serial.c')
-rw-r--r-- | arch/powerpc/boot/serial.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/boot/serial.c b/arch/powerpc/boot/serial.c index e8de4cf59be7..7fd32330a9a5 100644 --- a/arch/powerpc/boot/serial.c +++ b/arch/powerpc/boot/serial.c | |||
@@ -125,6 +125,8 @@ int serial_console_init(void) | |||
125 | 125 | ||
126 | if (!strcmp(compat, "ns16550")) | 126 | if (!strcmp(compat, "ns16550")) |
127 | rc = ns16550_console_init(devp, &serial_cd); | 127 | rc = ns16550_console_init(devp, &serial_cd); |
128 | else if (!strcmp(compat, "marvell,mpsc")) | ||
129 | rc = mpsc_console_init(devp, &serial_cd); | ||
128 | 130 | ||
129 | /* Add other serial console driver calls here */ | 131 | /* Add other serial console driver calls here */ |
130 | 132 | ||