| To: | ralf@linux-mips.org |
|---|---|
| Subject: | [PATCH] Au1200: MMC resource size off by one |
| From: | Sergei Shtylyov <sshtylyov@ru.mvista.com> |
| Date: | Thu, 8 May 2008 23:06:17 +0400 |
| Cc: | linux-mips@linux-mips.org |
| Organization: | MontaVista Software Inc. |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | KMail/1.5 |
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>
---
Inspired by the patches posted by Manuel Lauss.
Should apply to the top of Linux/MIPS tree...
arch/mips/au1000/common/platform.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6/arch/mips/au1000/common/platform.c
===================================================================
--- linux-2.6.orig/arch/mips/au1000/common/platform.c
+++ linux-2.6/arch/mips/au1000/common/platform.c
@@ -165,12 +165,12 @@ static struct resource au1xxx_usb_gdt_re
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] = {
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 4/7] Alchemy: db1200/pb1200: register mmc platform device and board specific functions, Manuel Lauss |
|---|---|
| Next by Date: | Re: [PATCH 4/7] Alchemy: db1200/pb1200: register mmc platform device and board specific functions, Sergei Shtylyov |
| Previous by Thread: | Re: [PATCH] Pb1000: bury the remnants of the PCI code (part 2), Sergei Shtylyov |
| Next by Thread: | Re: [PATCH] Au1200: MMC resource size off by one, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |