sh: fix the sh_mmcif_plat_data in board-sh7757lcr
PATCH 1/1 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 <[email protected]>
Signed-off-by Yoshihiro Shimoda <[email protected]>
--- arch/sh/boards/board-sh7757lcr.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
arch/sh/boards/board-sh7757lcr.c +2 -1
@@ -222,7 +222,8 @@ static struct sh_mmcif_dma sh7757lcr_mmcif_dma = {static struct sh_mmcif_plat_data sh_mmcif_plat = { .dma = &sh7757lcr_mmcif_dma, .sup_pclk =0x0f , - .caps =MMC_CAP_4_BIT_DATA |MMC_CAP_8_BIT_DATA , + .caps =MMC_CAP_4_BIT_DATA |MMC_CAP_8_BIT_DATA | +MMC_CAP_NONREMOVABLE , .ocr =MMC_VDD_32_33 |MMC_VDD_33_34 , };
Signature · 1 line
1.7.1
Paul Mundt
AppliedQuoted 6 lines · Yoshihiro
The board has an eMMC chip, so we cannot remove the chip. In this case, we have to set the
MMC_CAP_NONREMOVABLEto the caps parameter.Reported-by Guennadi Liakhovetski <[email protected]>Signed-off-by Yoshihiro Shimoda <[email protected]>
Applied, thanks.