]> git.dujemihanovic.xyz Git - u-boot.git/commit
stm32mp: bsec: add permanent lock write support
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 15 Feb 2022 15:08:50 +0000 (16:08 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 15 Mar 2022 08:10:52 +0000 (09:10 +0100)
commit0c20f53b3ff93d261a546601ad7190edf62f534b
treef9d6ffe12e553dd9f19c352b65942c6f0b6c9d6f
parent7ce4f1fad28e538d216065b5042f6f20a5f50a90
stm32mp: bsec: add permanent lock write support

Add support of the permanent lock support in U-Boot proper
when BSEC is not managed by secure monitor (TF-A SP_MIN or OP-TEE).

This patch avoid issue with stm32key command and fuse command
on basic boot for this missing feature of U-Boot BSEC driver.

Reported-by: Johann Neuhauser <jneuhauser@dh-electronics.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Tested-by: Johann Neuhauser <jneuhauser@dh-electronics.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/mach-stm32mp/bsec.c