Blackfin: bf537-stamp: fix NAND resources
authorMike Frysinger <vapier@gentoo.org>
Tue, 16 Mar 2010 14:28:44 +0000 (14:28 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 22 Oct 2010 07:48:46 +0000 (03:48 -0400)
The NAND platform driver expects the registers to have a "mem"
resource type rather than "io".

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-bf537/boards/stamp.c

index 9c83b52ff6bc4b63450423248addcd55f5b6c83a..62c480e35276e10fb8e5b8ceaf1a4f2c8e34678b 100644 (file)
@@ -418,7 +418,7 @@ static struct platform_nand_data bfin_plat_nand_data = {
 static struct resource bfin_plat_nand_resources = {
        .start = 0x20212000,
        .end   = 0x20212000 + (1 << MAX(BFIN_NAND_PLAT_CLE, BFIN_NAND_PLAT_ALE)),
-       .flags = IORESOURCE_IO,
+       .flags = IORESOURCE_MEM,
 };
 
 static struct platform_device bfin_async_nand_device = {