x86, setup: reorganize the early console setup
authorYinghai Lu <yinghai@kernel.org>
Mon, 2 Aug 2010 09:17:31 +0000 (02:17 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 2 Aug 2010 22:51:56 +0000 (15:51 -0700)
Separate early_serial_console from tty.c

This allows for reuse of
early_serial_console.c/string.c/printf.c/cmdline.c in boot/compressed/.

-v2: according to hpa, don't include string.c etc
-v3: compressed/misc.c must have early_serial_base as static, so move it back to tty.c
     for setup code

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <4C568D2B.205@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>

No differences found