From: Atsushi Nemoto Date: Sat, 26 Jan 2008 05:08:02 +0000 (+0900) Subject: [MIPS] Fix plat_ioremap for JMR3927 X-Git-Tag: v2.6.25-rc6~33^2~8 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=308a163931928332b57dfdfb3520c1924a337ef5;p=linux-2.6-omap-h63xx.git [MIPS] Fix plat_ioremap for JMR3927 TX39XX's "reserved" segment in CKSEG3 area is 0xff000000-0xfffeffff. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- diff --git a/include/asm-mips/mach-jmr3927/ioremap.h b/include/asm-mips/mach-jmr3927/ioremap.h index aa131ad7f71..29989ff10d6 100644 --- a/include/asm-mips/mach-jmr3927/ioremap.h +++ b/include/asm-mips/mach-jmr3927/ioremap.h @@ -25,7 +25,7 @@ static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size, { #define TXX9_DIRECTMAP_BASE 0xff000000ul if (offset >= TXX9_DIRECTMAP_BASE && - offset < TXX9_DIRECTMAP_BASE + 0xf0000) + offset < TXX9_DIRECTMAP_BASE + 0xff0000) return (void __iomem *)offset; return NULL; }