]> git.baikalelectronics.ru Git - uboot.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)
commitbe7fe94e45f73c0302ce3e833ef62c984faba139
treef9d6ffe12e553dd9f19c352b65942c6f0b6c9d6f
parent23850ac43d91f0057ce841aee81f696cd1991a3a
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