[U-Boot] Adding a mmc protect command

17 Nov
2016
17 Nov
'16
5:01 a.m.
Hi all, I need to implement MMC write protection in u-boot, and was wondering what would be the best way.
Should this be a new mmc command or just APIs? Is there value in pushing this upstream?
I ask because I saw the following submission didn't make it. http://lists.denx.de/pipermail/u-boot/2015-December/237810.html
The kernel.org's mmc-util has a write protect command we could model after if a "mmc protect" command is a better way to do this... "writeprotect user set", "<type>" "<start block>" "<blocks>" "<device>\n"
Maybe something like this? "mmc protect [perm|pwron|tmp|none] blk# cnt - set write protection\n"
Thoughts?
3100
Age (days ago)
3100
Last active (days ago)
0 comments
1 participants
participants (1)
-
Eugene.Cho@dell.com