diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2008-05-08 19:06:17 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-06-16 14:14:49 (GMT) |
commit | dab8c6deaf1d654d09c3de8bd4c286d424df255a (patch) | |
tree | ca9414b90ba930048d2a49bc0534d826406672a4 /arch/mips | |
parent | b185194ef0691c8068c7d764aa8f78899d05512a (diff) | |
download | linux-fsl-qoriq-dab8c6deaf1d654d09c3de8bd4c286d424df255a.tar.xz |
[MIPS] Au1200: MMC resource size off by one
Au12x0 MMC platform device strangely claims 0x41 bytes for its
memory-mapped registers. Make it claim the whole 0x80000 instead according
to the memory map given in the datasheets.
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/au1000/common/platform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/au1000/common/platform.c b/arch/mips/au1000/common/platform.c index 8cae775..74d6d4a 100644 --- a/arch/mips/au1000/common/platform.c +++ b/arch/mips/au1000/common/platform.c @@ -165,12 +165,12 @@ static struct resource au1xxx_usb_gdt_resources[] = { static struct resource au1xxx_mmc_resources[] = { [0] = { .start = SD0_PHYS_ADDR, - .end = SD0_PHYS_ADDR + 0x40, + .end = SD0_PHYS_ADDR + 0x7ffff, .flags = IORESOURCE_MEM, }, [1] = { .start = SD1_PHYS_ADDR, - .end = SD1_PHYS_ADDR + 0x40, + .end = SD1_PHYS_ADDR + 0x7ffff, .flags = IORESOURCE_MEM, }, [2] = { |