Rename extcsd read/write to writeprotect get/set

This leaves "extcsd read" pointing to Giuseppe's code.  Also, abstract
out the writeprotect code so that there's only one shared implementation
in print_writeprotect_status(), used by both "extcsd read" and
"writeprotect get".

Signed-off-by: Chris Ball <>
3 files changed
tree: 2f3860e87529b9e51e01caa6aeccee36996ce952
  1. Makefile
  2. man/
  3. mmc.c
  4. mmc.h
  5. mmc_cmds.c
  6. mmc_cmds.h