]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 28 Nov 2011 20:32:33 +0000 (21:32 +0100)
commitc41d17291e6effadcd6f20b8f56607cb3b81258a
tree3097e644f5940bcc2885ba7c44df491ef119d9fd
parent3ecc7c7108f32ceb685f486ad7a0be334811182e
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