]> 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>
Sun, 13 Nov 2011 10:20:24 +0000 (11:20 +0100)
commit323fed78c8e931d91833621fef69c4cd475a434a
tree82fe0921f8cda790de3d336410dc17bd3bfc46ff
parent049755db2c3fd07011d39b859b58df5a320635d3
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