projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: add support for write protection
[oweals/u-boot.git]
/
drivers
/
mmc
/
mmc_spi.c
diff --git
a/drivers/mmc/mmc_spi.c
b/drivers/mmc/mmc_spi.c
index 11ba532b0c6d02ed96bf0394d1f56def57137c2f..fe6a5a166de8bbebcea7b15e7a9bfe14c3caaa63 100644
(file)
--- a/
drivers/mmc/mmc_spi.c
+++ b/
drivers/mmc/mmc_spi.c
@@
-273,6
+273,7
@@
struct mmc *mmc_spi_init(uint bus, uint cs, uint speed, uint mode)
mmc->set_ios = mmc_spi_set_ios;
mmc->init = mmc_spi_init_p;
mmc->getcd = NULL;
+ mmc->getwp = NULL;
mmc->host_caps = MMC_MODE_SPI;
mmc->voltages = MMC_SPI_VOLTAGE;