summaryrefslogtreecommitdiff
path: root/drivers/mmc/sh_mmcif.c
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2012-12-03 02:19:46 (GMT)
committerTom Rini <trini@ti.com>2013-03-08 21:41:13 (GMT)
commitd23d8d7e069c3aca071b7f68d9c15d11f8d4c84d (patch)
tree936923cdc7450422639747e99a83e5ce9843198a /drivers/mmc/sh_mmcif.c
parent5c1214de8c7b8b3e807ec09508e653580872e599 (diff)
downloadu-boot-d23d8d7e069c3aca071b7f68d9c15d11f8d4c84d.tar.xz
mmc: add support for write protection
Add generic mmc write protection functionality. Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'drivers/mmc/sh_mmcif.c')
-rw-r--r--drivers/mmc/sh_mmcif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/sh_mmcif.c b/drivers/mmc/sh_mmcif.c
index 4588568..011d4f3 100644
--- a/drivers/mmc/sh_mmcif.c
+++ b/drivers/mmc/sh_mmcif.c
@@ -599,6 +599,7 @@ int mmcif_mmc_init(void)
mmc->set_ios = sh_mmcif_set_ios;
mmc->init = sh_mmcif_init;
mmc->getcd = NULL;
+ mmc->getwp = NULL;
host->regs = (struct sh_mmcif_regs *)CONFIG_SH_MMCIF_ADDR;
host->clk = CONFIG_SH_MMCIF_CLK;
mmc->priv = host;