aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2010-05-19 14:36:13 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-05-22 04:05:21 -0400
commit8f4b3036d1b9bdb6f5fa0b920e0163d64a990327 (patch)
tree72a294ddb86c5701dbf4acee5065d114d406b957 /arch/sh
parentf87c20a9db43f6f731270eeef616e1bcc266c2d4 (diff)
sh: disable SD-card write-protection detection on kfr2r09
kfr2r09 board has a micro-SD card slot, therefore card write-protection detection cannot work there, disable it. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Ian Molton <ian@mnementh.co.uk> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/boards/mach-kfr2r09/setup.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/sh/boards/mach-kfr2r09/setup.c b/arch/sh/boards/mach-kfr2r09/setup.c
index 95850aa1ee3c..68994a163f6c 100644
--- a/arch/sh/boards/mach-kfr2r09/setup.c
+++ b/arch/sh/boards/mach-kfr2r09/setup.c
@@ -11,6 +11,7 @@
11#include <linux/platform_device.h> 11#include <linux/platform_device.h>
12#include <linux/interrupt.h> 12#include <linux/interrupt.h>
13#include <linux/mfd/sh_mobile_sdhi.h> 13#include <linux/mfd/sh_mobile_sdhi.h>
14#include <linux/mfd/tmio.h>
14#include <linux/mtd/physmap.h> 15#include <linux/mtd/physmap.h>
15#include <linux/mtd/onenand.h> 16#include <linux/mtd/onenand.h>
16#include <linux/delay.h> 17#include <linux/delay.h>
@@ -358,8 +359,9 @@ static struct resource kfr2r09_sh_sdhi0_resources[] = {
358}; 359};
359 360
360static struct sh_mobile_sdhi_info sh7724_sdhi0_data = { 361static struct sh_mobile_sdhi_info sh7724_sdhi0_data = {
361 .dma_slave_tx = SHDMA_SLAVE_SDHI0_TX, 362 .dma_slave_tx = SHDMA_SLAVE_SDHI0_TX,
362 .dma_slave_rx = SHDMA_SLAVE_SDHI0_RX, 363 .dma_slave_rx = SHDMA_SLAVE_SDHI0_RX,
364 .tmio_flags = TMIO_MMC_WRPROTECT_DISABLE,
363}; 365};
364 366
365static struct platform_device kfr2r09_sh_sdhi0_device = { 367static struct platform_device kfr2r09_sh_sdhi0_device = {