Blackfin: bf561-acvilon: fix NAND resources
authorValentin Yakovenkov <yakovenkov@gmail.com>
Tue, 16 Mar 2010 13:01:50 +0000 (13:01 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 22 Oct 2010 07:48:45 +0000 (03:48 -0400)
The NAND platform driver expects the registers to have a "mem"
resource type rather than "io".

Signed-off-by: Valentin Yakovenkov <yakovenkov@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-bf561/boards/acvilon.c

index 35b6d124c1e3adcb748bb5583cd79b31f635cf9e..0b1c20f14fe0e50377c90eda314104db51cad1fb 100644 (file)
@@ -302,7 +302,7 @@ static struct platform_nand_data bfin_plat_nand_data = {
 static struct resource bfin_plat_nand_resources = {
        .start = 0x24000000,
        .end = 0x24000000 + (1 << MAX(BFIN_NAND_PLAT_CLE, BFIN_NAND_PLAT_ALE)),
-       .flags = IORESOURCE_IO,
+       .flags = IORESOURCE_MEM,
 };
 
 static struct platform_device bfin_async_nand_device = {