diff options
author | Nikita Kiryanov <nikita@compulab.co.il> | 2012-12-03 02:19:46 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-03-08 16:41:13 -0500 |
commit | d23d8d7e069c3aca071b7f68d9c15d11f8d4c84d (patch) | |
tree | 936923cdc7450422639747e99a83e5ce9843198a /drivers/mmc/mxcmmc.c | |
parent | 5c1214de8c7b8b3e807ec09508e653580872e599 (diff) | |
download | u-boot-imx-d23d8d7e069c3aca071b7f68d9c15d11f8d4c84d.zip u-boot-imx-d23d8d7e069c3aca071b7f68d9c15d11f8d4c84d.tar.gz u-boot-imx-d23d8d7e069c3aca071b7f68d9c15d11f8d4c84d.tar.bz2 |
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/mxcmmc.c')
-rw-r--r-- | drivers/mmc/mxcmmc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/mxcmmc.c b/drivers/mmc/mxcmmc.c index d58c18b..4f99617 100644 --- a/drivers/mmc/mxcmmc.c +++ b/drivers/mmc/mxcmmc.c @@ -499,6 +499,7 @@ static int mxcmci_initialize(bd_t *bis) mmc->set_ios = mxcmci_set_ios; mmc->init = mxcmci_init; mmc->getcd = NULL; + mmc->getwp = NULL; mmc->host_caps = MMC_MODE_4BIT; host->base = (struct mxcmci_regs *)CONFIG_MXC_MCI_REGS_BASE; |