diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-03-16 10:28:44 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-10-22 03:48:46 -0400 |
commit | 67d9963bd79b8f861387982ac5c0ff796f12be61 (patch) | |
tree | eca6029b10ec8ce85b1f61ee913a1dc6cdf27498 /arch/blackfin/mach-bf537 | |
parent | 9e75894c50d126bf3c8efb0efc91d5a93d6163dd (diff) |
Blackfin: bf537-stamp: fix NAND resources
The NAND platform driver expects the registers to have a "mem"
resource type rather than "io".
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf537')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 9c83b52ff6bc..62c480e35276 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -418,7 +418,7 @@ static struct platform_nand_data bfin_plat_nand_data = { | |||
418 | static struct resource bfin_plat_nand_resources = { | 418 | static struct resource bfin_plat_nand_resources = { |
419 | .start = 0x20212000, | 419 | .start = 0x20212000, |
420 | .end = 0x20212000 + (1 << MAX(BFIN_NAND_PLAT_CLE, BFIN_NAND_PLAT_ALE)), | 420 | .end = 0x20212000 + (1 << MAX(BFIN_NAND_PLAT_CLE, BFIN_NAND_PLAT_ALE)), |
421 | .flags = IORESOURCE_IO, | 421 | .flags = IORESOURCE_MEM, |
422 | }; | 422 | }; |
423 | 423 | ||
424 | static struct platform_device bfin_async_nand_device = { | 424 | static struct platform_device bfin_async_nand_device = { |