ARM: shmobile: mackerel: Add FLCTL IRQ resource
PATCH v2 1/1 ARM: shmobile: mackerel: Add FLCTL IRQ resource
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 <[email protected]>
---
v2: extended commit message
arch/arm/mach-shmobile/board-mackerel.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
arch/arm/mach-shmobile/board-mackerel.c +5 -1
@@ -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 = {
Signature · 1 line
1.7.9.5
Quoted 4 lines · Bastian Hecht
Since commit
3c7ea4eccfd2ethesh_flctldriver 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.