Skip to contentSkip to conversation

ARM: shmobile: mackerel: Add FLCTL IRQ resource

PATCH In review Bastian Hecht 2 participants 2 messages Nov 16, 2012 – Nov 19, 2012

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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.

---
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
index 0c27c81..66ec616 100644
@@ -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
#1 lore raw
Quoted 4 lines · Bastian Hecht

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.