provide an early ioremap cookie of the system configuration register
[openwrt/staging/wigyori.git] / target / linux / mcs814x / files-3.3 / arch / arm / mach-mcs814x / include / mach / uncompress.h
index 2362e3c95e85de051e126d4dd0da174724df6187..cf3ed9a1a603f25b1014f3f7f55ca9d3bc89e8fe 100644 (file)
@@ -32,7 +32,7 @@ static inline void flush(void)
 static inline void arch_decomp_setup(void)
 {
        if (soc_is_mcs8140())
-               uart_base = (void __iomem *)(_PHYS_CONFADDR + _CONFOFFSET_UART);
+               uart_base = (void __iomem *)(MCS814X_PHYS_BASE +MCS814X_UART);
 }
 
 #define arch_decomp_wdog()