MA-14916-8 [iot] Set power-on write protection for boot1 partition
authorLuo Ji <ji.luo@nxp.com>
Wed, 3 Jul 2019 06:38:16 +0000 (14:38 +0800)
committerfaqiang.zhu <faqiang.zhu@nxp.com>
Wed, 10 Jul 2019 08:27:58 +0000 (16:27 +0800)
commitc7e207fbbcd8618d29b1192829c630777fea5220
tree3f4c220a176eb5865148f81b29480a8906278a58
parentde905a8a3c6dfdf9241a188b2e22c76dbef851c1
MA-14916-8 [iot] Set power-on write protection for boot1 partition

The RPMB keyslot is stored in last block of boot1 partition which
is easily erased or tampered, set power-on write protection for this
partition to prevent corruption.

Test: Power-on write protection works as expected on imx8m.

Change-Id: Ib7e1094b979f7d94c0a2817391c5b3b5f3205d76
Signed-off-by: Luo Ji <ji.luo@nxp.com>
include/mmc.h