X-Git-Url: http://nv-tegra.nvidia.com/gitweb/?p=linux-3.10.git;a=blobdiff_plain;f=arch%2Fppc%2Fxmon%2Fstart.c;h=c80177f8ec04e1f1fa6cc32fed12e90a6c3d26d9;hp=98612d420346bde2e149e0368aadc84a82a82d40;hb=d3ed65832029dcaf5fe086670a2f2c25600b51e9;hpb=fd582ec88eb8d2d907876603e4ecebe6eab330d9 diff --git a/arch/ppc/xmon/start.c b/arch/ppc/xmon/start.c index 98612d4..c80177f 100644 --- a/arch/ppc/xmon/start.c +++ b/arch/ppc/xmon/start.c @@ -184,7 +184,9 @@ xmon_map_scc(void) sccc = base + (addr & ~PAGE_MASK); sccd = sccc + 0x10; - } else { + } +#ifdef CONFIG_PPC_CHRP + else { base = (volatile unsigned char *) isa_io_base; if (_machine == _MACH_chrp) base = (volatile unsigned char *) @@ -200,6 +202,7 @@ xmon_map_scc(void) RXRDY = 1; DLAB = 0x80; } +#endif /* CONFIG_PPC_CHRP */ #elif defined(CONFIG_GEMINI) /* should already be mapped by the kernel boot */ sccc = (volatile unsigned char *) 0xffeffb0d;