Skip to content

Commit

Permalink
ARM: shmobile: mackerel: Add FLCTL IRQ resource
Browse files Browse the repository at this point in the history
Since commit 3c7ea4e (mtd: sh_flctl: Add support for error IRQ)
the sh_flctl driver requires the error IRQ line to signal failed
transactions between the flash controller and the NAND chip.
This information is mandatory - else the driver refuses to start
up. We provide it here for the board mackerel.

Signed-off-by: Bastian Hecht <hechtb@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
  • Loading branch information
Bastian Hecht authored and Simon Horman committed Nov 20, 2012
1 parent 12818d8 commit 3042ac5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion arch/arm/mach-shmobile/board-mackerel.c
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,11 @@ static struct resource nand_flash_resources[] = {
.start = 0xe6a30000,
.end = 0xe6a3009b,
.flags = IORESOURCE_MEM,
}
},
[1] = {
.start = evt2irq(0x0d80), /* flstei: status error irq */
.flags = IORESOURCE_IRQ,
},
};

static struct sh_flctl_platform_data nand_flash_data = {
Expand Down

0 comments on commit 3042ac5

Please sign in to comment.