summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2008-04-15 22:20:45 +0400
committerRalf Baechle <ralf@linux-mips.org>2008-04-28 17:14:33 +0100
commit3854c69a0d3080c8647f7b041da2382702f574b7 (patch)
tree8741b68a3b5fa53883d8ac89570882511657918f /arch
parentf57b2061ab7d444ae0c98764a9c9e09b33c36050 (diff)
downloadlinux-3.10-3854c69a0d3080c8647f7b041da2382702f574b7.tar.gz
linux-3.10-3854c69a0d3080c8647f7b041da2382702f574b7.tar.bz2
linux-3.10-3854c69a0d3080c8647f7b041da2382702f574b7.zip
[MIPS] DBAu1200: fix bad SMC 91C111 resource size
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/au1000/common/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/au1000/common/platform.c b/arch/mips/au1000/common/platform.c
index 7167972b127..06752f53fa8 100644
--- a/arch/mips/au1000/common/platform.c
+++ b/arch/mips/au1000/common/platform.c
@@ -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] = {