[U-Boot] [PATCH v2] mmc: implement mmc power on write protect function
Simon Glass
sjg at chromium.org
Mon Dec 14 23:14:03 CET 2015
+Pantelis
On 13 December 2015 at 23:05, Lin Huang <hl at rock-chips.com> wrote:
> set the mmc specific addresss and range as power on
> write protection, you can't earse and write this range
> of data if you enable it after mmc power on.
>
> Signed-off-by: Lin Huang <hl at rock-chips.com>
> ---
> Changes in v2:
> - Adviced by Simon:
> - use standard way of doing function comments
> Changes in v1:
> - Adviced by Simon:
> - use real error in errno.h to return
> - add full function comments for new function
>
> drivers/mmc/mmc.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
> include/mmc.h | 36 +++++++++++++++++++++++
> 2 files changed, 123 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list