From: Sergei Shtylyov <[EMAIL PROTECTED]>

DM644x IDE platform device claims the memory range of 4097 bytes which clashes
with the SPI controller and is off-by-one.  Correct it to 2048 bytes according
to DM644x datasheet and add the 'end' field initializer to the IRQ resource,
while at it...

Signed-off-by: Sergei Shtylyov <[EMAIL PROTECTED]>
Signed-off-by: Kevin Hilman <[EMAIL PROTECTED]>
---
 arch/arm/mach-davinci/board-evm.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-davinci/board-evm.c 
b/arch/arm/mach-davinci/board-evm.c
index e1495da..0e15e6c 100644
--- a/arch/arm/mach-davinci/board-evm.c
+++ b/arch/arm/mach-davinci/board-evm.c
@@ -205,11 +205,12 @@ static struct platform_device rtc_dev = {
 static struct resource ide_resources[] = {
        {
                .start          = DAVINCI_CFC_ATA_BASE,
-               .end            = DAVINCI_CFC_ATA_BASE + SZ_4K,
+               .end            = DAVINCI_CFC_ATA_BASE + 0x7ff,
                .flags          = IORESOURCE_MEM,
        },
        {
                .start          = IRQ_IDE,
+               .end            = IRQ_IDE,
                .flags          = IORESOURCE_IRQ,
        },
 };
-- 
1.5.6.4


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to