diff options
author | Shimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com> | 2012-01-17 03:49:38 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-01-17 07:44:59 -0500 |
commit | 78da107a7ed14fbc6ef77ff4c41d92b11edc9036 (patch) | |
tree | 9a14ccbd1d81345715b0d7574419ed23b4d8bcc1 /arch | |
parent | c2bc3a316a7281f67e36b34dac2802cbe36a9128 (diff) |
sh: fix the sh_mmcif_plat_data in board-sh7757lcr
The board has an eMMC chip, so we cannot remove the chip.
In this case, we have to set the MMC_CAP_NONREMOVABLE to the caps
parameter.
Reported-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/boards/board-sh7757lcr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/boards/board-sh7757lcr.c b/arch/sh/boards/board-sh7757lcr.c index 0838154dd216..33dc5b6e8e17 100644 --- a/arch/sh/boards/board-sh7757lcr.c +++ b/arch/sh/boards/board-sh7757lcr.c | |||
@@ -222,7 +222,8 @@ static struct sh_mmcif_dma sh7757lcr_mmcif_dma = { | |||
222 | static struct sh_mmcif_plat_data sh_mmcif_plat = { | 222 | static struct sh_mmcif_plat_data sh_mmcif_plat = { |
223 | .dma = &sh7757lcr_mmcif_dma, | 223 | .dma = &sh7757lcr_mmcif_dma, |
224 | .sup_pclk = 0x0f, | 224 | .sup_pclk = 0x0f, |
225 | .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA, | 225 | .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA | |
226 | MMC_CAP_NONREMOVABLE, | ||
226 | .ocr = MMC_VDD_32_33 | MMC_VDD_33_34, | 227 | .ocr = MMC_VDD_32_33 | MMC_VDD_33_34, |
227 | }; | 228 | }; |
228 | 229 | ||