aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2007-11-23 00:39:13 -0500
committerPaul Mundt <lethal@linux-sh.org>2007-11-23 00:39:13 -0500
commitabac3f784f11cf8ccca0fc37ae4f5ff04cc245c4 (patch)
treeecd816bcbcf20b27991c55164277c4941738a68b /arch/sh/boards
parent843393d304ef4d44a8a5106e68dcd4eb1102437a (diff)
sh: fix R2D-1 CF support
This patch fixes CF support for R2D-1 boards. Both R2D-1 and R2D-PLUS are equipped with CF IRQs, but the R2D-1 FPGA version seem to deliver IRQ spikes with certain CF cards during libata probing. This patch enables polling for R2D-1 as a workaround for this broken FGPA logic. R2D-1 CF support was recently introduced by commit: 43f4b8c7578b928892b6f01d374346ae14e5eb70. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards')
-rw-r--r--arch/sh/boards/renesas/rts7751r2d/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/boards/renesas/rts7751r2d/setup.c b/arch/sh/boards/renesas/rts7751r2d/setup.c
index 37f2c0b447fe..8125d20fdbd8 100644
--- a/arch/sh/boards/renesas/rts7751r2d/setup.c
+++ b/arch/sh/boards/renesas/rts7751r2d/setup.c
@@ -53,10 +53,12 @@ static struct resource cf_ide_resources[] = {
53 .end = PA_AREA5_IO + 0x80c, 53 .end = PA_AREA5_IO + 0x80c,
54 .flags = IORESOURCE_MEM, 54 .flags = IORESOURCE_MEM,
55 }, 55 },
56#ifndef CONFIG_RTS7751R2D_1 /* For R2D-1 polling is preferred */
56 [2] = { 57 [2] = {
57 .start = IRQ_CF_IDE, 58 .start = IRQ_CF_IDE,
58 .flags = IORESOURCE_IRQ, 59 .flags = IORESOURCE_IRQ,
59 }, 60 },
61#endif
60}; 62};
61 63
62static struct pata_platform_info pata_info = { 64static struct pata_platform_info pata_info = {