powerpc: Introduce a new config symbol to control 16550 early debug code
authorPaul Mackerras <paulus@samba.org>
Tue, 10 Jan 2006 05:19:05 +0000 (16:19 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Jan 2006 05:19:05 +0000 (16:19 +1100)
commit13b8a272297b29870d5bf5f8db7a381dd9e82382
tree7abd516728d53f2d096d757412d6e9cd17819382
parent0f17574a651884c721e1a33051719e59deb13c18
powerpc: Introduce a new config symbol to control 16550 early debug code

The previous change by Kumar Gala in this area led to legacy_serial.c
and udbg_16550.c being built as modules when CONFIG_SERIAL_8250=m.
Fix this by introducing a new symbol, CONFIG_PPC_UDBG_16550, to
control whether these files get built, and arrange for it to be selected
for those platforms that need it.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Kconfig
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/setup_32.c
arch/powerpc/kernel/setup_64.c
arch/powerpc/platforms/maple/setup.c
include/asm-powerpc/serial.h