diff options
author | Paul Mackerras <paulus@samba.org> | 2006-01-10 00:19:05 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-10 00:19:05 -0500 |
commit | 13b8a272297b29870d5bf5f8db7a381dd9e82382 (patch) | |
tree | 7abd516728d53f2d096d757412d6e9cd17819382 /arch/powerpc/platforms/maple/setup.c | |
parent | 0f17574a651884c721e1a33051719e59deb13c18 (diff) |
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>
Diffstat (limited to 'arch/powerpc/platforms/maple/setup.c')
-rw-r--r-- | arch/powerpc/platforms/maple/setup.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/maple/setup.c b/arch/powerpc/platforms/maple/setup.c index dd73e38bfb7d..a1cb4d236720 100644 --- a/arch/powerpc/platforms/maple/setup.c +++ b/arch/powerpc/platforms/maple/setup.c | |||
@@ -71,9 +71,6 @@ | |||
71 | #define DBG(fmt...) | 71 | #define DBG(fmt...) |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | extern void generic_find_legacy_serial_ports(u64 *physport, | ||
75 | unsigned int *default_speed); | ||
76 | |||
77 | static void maple_restart(char *cmd) | 74 | static void maple_restart(char *cmd) |
78 | { | 75 | { |
79 | unsigned int maple_nvram_base; | 76 | unsigned int maple_nvram_base; |