diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-11-28 19:21:59 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-08 22:50:58 -0500 |
commit | 8dacaedf04467e32c50148751a96150e73323cdc (patch) | |
tree | 74e8406ee6a78c7cf232858994ee49547c273042 /arch/powerpc/platforms/chrp | |
parent | 1c3eb629102bd4e327cc8b08fb9cdae4a985e841 (diff) |
[PATCH] powerpc: More serial probe fixes (#2)
This fixes the new serial probe code with some PCI MMIO UARTs, and fixes
CHRP build with ARCH=powerpc.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/chrp')
-rw-r--r-- | arch/powerpc/platforms/chrp/setup.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/powerpc/platforms/chrp/setup.c b/arch/powerpc/platforms/chrp/setup.c index dda5f2c72c25..4ec8ba737e7d 100644 --- a/arch/powerpc/platforms/chrp/setup.c +++ b/arch/powerpc/platforms/chrp/setup.c | |||
@@ -49,7 +49,6 @@ | |||
49 | #include <asm/hydra.h> | 49 | #include <asm/hydra.h> |
50 | #include <asm/sections.h> | 50 | #include <asm/sections.h> |
51 | #include <asm/time.h> | 51 | #include <asm/time.h> |
52 | #include <asm/btext.h> | ||
53 | #include <asm/i8259.h> | 52 | #include <asm/i8259.h> |
54 | #include <asm/mpic.h> | 53 | #include <asm/mpic.h> |
55 | #include <asm/rtas.h> | 54 | #include <asm/rtas.h> |
@@ -58,7 +57,6 @@ | |||
58 | #include "chrp.h" | 57 | #include "chrp.h" |
59 | 58 | ||
60 | void rtas_indicator_progress(char *, unsigned short); | 59 | void rtas_indicator_progress(char *, unsigned short); |
61 | void btext_progress(char *, unsigned short); | ||
62 | 60 | ||
63 | int _chrp_type; | 61 | int _chrp_type; |
64 | EXPORT_SYMBOL(_chrp_type); | 62 | EXPORT_SYMBOL(_chrp_type); |
@@ -264,11 +262,6 @@ void __init chrp_setup_arch(void) | |||
264 | ppc_md.set_rtc_time = rtas_set_rtc_time; | 262 | ppc_md.set_rtc_time = rtas_set_rtc_time; |
265 | } | 263 | } |
266 | 264 | ||
267 | #ifdef CONFIG_BOOTX_TEXT | ||
268 | if (ppc_md.progress == NULL && boot_text_mapped) | ||
269 | ppc_md.progress = btext_progress; | ||
270 | #endif | ||
271 | |||
272 | #ifdef CONFIG_BLK_DEV_INITRD | 265 | #ifdef CONFIG_BLK_DEV_INITRD |
273 | /* this is fine for chrp */ | 266 | /* this is fine for chrp */ |
274 | initrd_below_start_ok = 1; | 267 | initrd_below_start_ok = 1; |
@@ -522,12 +515,3 @@ void __init chrp_init(void) | |||
522 | smp_ops = &chrp_smp_ops; | 515 | smp_ops = &chrp_smp_ops; |
523 | #endif /* CONFIG_SMP */ | 516 | #endif /* CONFIG_SMP */ |
524 | } | 517 | } |
525 | |||
526 | #ifdef CONFIG_BOOTX_TEXT | ||
527 | void | ||
528 | btext_progress(char *s, unsigned short hex) | ||
529 | { | ||
530 | btext_drawstring(s); | ||
531 | btext_drawstring("\n"); | ||
532 | } | ||
533 | #endif /* CONFIG_BOOTX_TEXT */ | ||