[MIPS] DBAu1200: fix bad SMC 91C111 resource size
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Tue, 15 Apr 2008 18:20:45 +0000 (22:20 +0400)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 28 Apr 2008 16:14:33 +0000 (17:14 +0100)
The on-board SMC 91C111 chip only decodes 16 bytes of memory (obviously, it
can not decode a whole megabyte starting from address 0x19000300).

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/common/platform.c

index 7167972b1277d059f977c1b675b60c7f6c851f1b..06752f53fa88a24734bbcea3bbc32d4ad610bbf4 100644 (file)
@@ -298,7 +298,7 @@ static struct resource smc91x_resources[] = {
        [0] = {
                .name   = "smc91x-regs",
                .start  = AU1XXX_SMC91111_PHYS_ADDR,
-               .end    = AU1XXX_SMC91111_PHYS_ADDR + 0xfffff,
+               .end    = AU1XXX_SMC91111_PHYS_ADDR + 0xf,
                .flags  = IORESOURCE_MEM,
        },
        [1] = {