]> git.baikalelectronics.ru Git - kernel.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>
Sat, 10 Dec 2011 18:52:45 +0000 (19:52 +0100)
commit2fa96c2fca88be717c97b2169bfed913ca258542
tree9ded40176536ef7ab552adef368592dc648d4c8d
parent11ab6c062a96a327ba38082d42d6da5b86a2285e
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