]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: mmc: provide boot area protection command
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 30 Mar 2020 05:24:19 +0000 (07:24 +0200)
committerPeng Fan <peng.fan@nxp.com>
Wed, 22 Apr 2020 12:41:55 +0000 (20:41 +0800)
commit50e74b39baabc545f5896b57ec6686cee68f9630
treed93f62a4625b8d53415ea44ced16b04e214674f2
parent6218eca1088abf4bfa9706972f6ed6a93fde36fe
cmd: mmc: provide boot area protection command

Provide command 'mmc wp' to power on write protect boot areas on eMMC
devices.

The B_PWR_WP_EN bit in the extended CSD register BOOT_WP is set. The boot
area are write protected until the next power cycle occurs.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/mmc.c
drivers/mmc/mmc.c
include/mmc.h