mmc: add support for write protection