MLK-19790 imx: caam: new u-boot command to set PRIBLOB bitfield from CAAM SCFGR regis...
authorClement Le Marquis <clement.lemarquis@nxp.com>
Thu, 20 Sep 2018 01:07:10 +0000 (03:07 +0200)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 11:28:22 +0000 (04:28 -0700)
commite8f813a6b66961759916e65b8c18ec43fd36a7c3
treea2df6bd13ee42ab13382c687a628c75f2fc89c2d
parentbc99df271aaa556a6efb5289b003b3dffacc3f92
MLK-19790 imx: caam: new u-boot command to set PRIBLOB bitfield from CAAM SCFGR register to 0x3

It is highly recommended to set the PRIBLOB bitfield to 0x3 once your
encrypted boot image has booted up, this prevents the generation of new
blobs that can be used to decrypt an encrypted boot image. The PRIBLOB is
a sticky type bit and cannot be changed until the next power on reset.

Add the set_priblob_bitfield U-Boot command to prevent the generation of
new blobs.

Signed-off-by: Clement Le Marquis <clement.lemarquis@nxp.com>
Acked-by: Ye Li <Ye.Li@nxp.com>
(cherry picked from commit 69cca568b85f36a77ef6ef31538f69366d238845)
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/priblob.c [new file with mode: 0644]