]> Git Repo - linux.git/commitdiff
[MIPS] Fix plat_ioremap for JMR3927
authorAtsushi Nemoto <[email protected]>
Sat, 26 Jan 2008 05:08:02 +0000 (14:08 +0900)
committerRalf Baechle <[email protected]>
Wed, 12 Mar 2008 14:14:41 +0000 (14:14 +0000)
TX39XX's "reserved" segment in CKSEG3 area is 0xff000000-0xfffeffff.

Signed-off-by: Atsushi Nemoto <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
include/asm-mips/mach-jmr3927/ioremap.h

index aa131ad7f7177c9de0698ddfdcfea3061e361ff7..29989ff10d663254da95f7dcb4619f7ef5da2dcb 100644 (file)
@@ -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;
 }
This page took 0.052718 seconds and 4 git commands to generate.