mirror of
https://xff.cz/git/u-boot/
synced 2025-10-22 10:31:56 +02:00
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>
This commit is contained in:
committed by
Tom Rini
parent
5c1214de8c
commit
d23d8d7e06
@@ -590,6 +590,7 @@ int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio)
|
||||
mmc->set_ios = mmc_set_ios;
|
||||
mmc->init = mmc_init_setup;
|
||||
mmc->getcd = omap_mmc_getcd;
|
||||
mmc->getwp = NULL;
|
||||
mmc->priv = priv_data;
|
||||
|
||||
switch (dev_index) {
|
||||
|
||||
Reference in New Issue
Block a user