]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: Multi-platform EARLY_PRINTK
authorFinn Thain <fthain@telegraphics.com.au>
Sat, 12 Apr 2014 13:48:56 +0000 (23:48 +1000)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 28 May 2014 08:10:04 +0000 (10:10 +0200)
commitcc3147d69088183161f8e1ef6346201624bc0bce
tree562d7acf6b0ab016a1c7ca3cbfe9cd4ed9f8f9ab
parentf4d13ef5eb8d83fab1291d68c62a9cb2859a7d92
m68k: Multi-platform EARLY_PRINTK

Make the boot console available to more m68k platforms by leveraging
the head.S debug console.

The boot console is enabled by the "earlyprintk" command line argument
which is how most other architectures do this.

This is a change of behaviour for the Mac but does not negatively impact
the common use-case which is not debugging.

This is also a change of behaviour for other platforms because it means
the serial port stays quiet when CONFIG_EARLY_PRINTK is not enabled. This
is also an improvement for the common use-case.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Tested-by: Stephen N Chivers <schivers@csc.com.au>
[Geert: CONSOLE_DEBUG should depend on CONFIG_FONT_SUPPORT]
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Documentation/kernel-parameters.txt
arch/m68k/Kconfig.debug
arch/m68k/kernel/Makefile
arch/m68k/kernel/early_printk.c [new file with mode: 0644]
arch/m68k/kernel/head.S
arch/m68k/mac/config.c