* [PATCH v2] ARM: shmobile: mackerel: Add FLCTL IRQ resource
@ 2012-11-16 10:36 Bastian Hecht
2012-11-19 1:16 ` Simon Horman
0 siblings, 1 reply; 2+ messages in thread
From: Bastian Hecht @ 2012-11-16 10:36 UTC (permalink / raw)
To: linux-sh
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(-)
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 = {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] ARM: shmobile: mackerel: Add FLCTL IRQ resource
2012-11-16 10:36 [PATCH v2] ARM: shmobile: mackerel: Add FLCTL IRQ resource Bastian Hecht
@ 2012-11-19 1:16 ` Simon Horman
0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2012-11-19 1:16 UTC (permalink / raw)
To: linux-sh
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-19 1:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16 10:36 [PATCH v2] ARM: shmobile: mackerel: Add FLCTL IRQ resource Bastian Hecht
2012-11-19 1:16 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).