]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mmc/tegra_mmc.c
mmc: add support for write protection
[people/ms/u-boot.git] / drivers / mmc / tegra_mmc.c
index d749ab095e3eecfe1d4070f5b37eacf5a9d3933b..72586193ca54063498f310ad32b7ed9a38b083d1 100644 (file)
@@ -563,6 +563,7 @@ int tegra_mmc_init(int dev_index, int bus_width, int pwr_gpio, int cd_gpio)
        mmc->set_ios = mmc_set_ios;
        mmc->init = mmc_core_init;
        mmc->getcd = tegra_mmc_getcd;
+       mmc->getwp = NULL;
 
        mmc->voltages = MMC_VDD_32_33 | MMC_VDD_33_34 | MMC_VDD_165_195;
        mmc->host_caps = 0;