Message ID | 1353062171-20589-1-git-send-email-hechtb@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Commit | d01f4b82fbee516b4d3f03b086333fc4a127983c |
Headers | show |
On Fri, Nov 16, 2012 at 11:36:11AM +0100, Bastian Hecht wrote: > Since commit 3c7ea4eccfd2e 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. Thanks, I have pushed this into a new boards3 branch and will get send it as a pull-request to the arm-soc people shortly. -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 0c27c81..66ec616 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c @@ -1018,7 +1018,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 = {
Since commit 3c7ea4eccfd2e 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> --- v2: extended commit message arch/arm/mach-shmobile/board-mackerel.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)