m68k/mac: early console
authorFinn Thain <fthain@telegraphics.com.au>
Sun, 23 Oct 2011 14:11:12 +0000 (01:11 +1100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 10 Dec 2011 18:52:45 +0000 (19:52 +0100)
commit93edd023a7de1ea4fe6e5de631982b96156eef03
tree9ded40176536ef7ab552adef368592dc648d4c8d
parentf9994894953d6bd9d5ed2719a34d027a4e0c2131
m68k/mac: early console

Revive the old mac_serial_print() routine as mac_early_print(). mac_serial_print() did not function because it did not use the right offsets for its stack arguments. Fix this and make compilation conditional on CONFIG_EARLY_PRINTK instead of the obscure MAC_SERIAL_DEBUG macro.

Give mac_early_print() a new string length parameter to fit the early console API.

Send output to the framebuffer as well as serial ports.

Change the line rate to 38400 baud to match the default for the real (pmac_zilog) serial console.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/Kconfig.debug
arch/m68k/kernel/head.S
arch/m68k/mac/config.c