diff options
Diffstat (limited to 'arch/ppc/xmon/start.c')
-rw-r--r-- | arch/ppc/xmon/start.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/ppc/xmon/start.c b/arch/ppc/xmon/start.c index 98612d420346..c80177f8ec04 100644 --- a/arch/ppc/xmon/start.c +++ b/arch/ppc/xmon/start.c | |||
@@ -184,7 +184,9 @@ xmon_map_scc(void) | |||
184 | sccc = base + (addr & ~PAGE_MASK); | 184 | sccc = base + (addr & ~PAGE_MASK); |
185 | sccd = sccc + 0x10; | 185 | sccd = sccc + 0x10; |
186 | 186 | ||
187 | } else { | 187 | } |
188 | #ifdef CONFIG_PPC_CHRP | ||
189 | else { | ||
188 | base = (volatile unsigned char *) isa_io_base; | 190 | base = (volatile unsigned char *) isa_io_base; |
189 | if (_machine == _MACH_chrp) | 191 | if (_machine == _MACH_chrp) |
190 | base = (volatile unsigned char *) | 192 | base = (volatile unsigned char *) |
@@ -200,6 +202,7 @@ xmon_map_scc(void) | |||
200 | RXRDY = 1; | 202 | RXRDY = 1; |
201 | DLAB = 0x80; | 203 | DLAB = 0x80; |
202 | } | 204 | } |
205 | #endif /* CONFIG_PPC_CHRP */ | ||
203 | #elif defined(CONFIG_GEMINI) | 206 | #elif defined(CONFIG_GEMINI) |
204 | /* should already be mapped by the kernel boot */ | 207 | /* should already be mapped by the kernel boot */ |
205 | sccc = (volatile unsigned char *) 0xffeffb0d; | 208 | sccc = (volatile unsigned char *) 0xffeffb0d; |