[PATCH 4/7] stm32mp: cmd_stm32key: lock of PKH OTP after fuse

Patrick DELAUNAY patrick.delaunay at foss.st.com
Fri Jul 16 10:28:22 CEST 2021


Hi,

On 6/28/21 2:56 PM, Patrick Delaunay wrote:
> Lock the OTP value of key's hash after the command
> $> stm32key fuse <address>
>
> This operation forbids a second update of these OTP as they are
> ECC protected in BSEC: any update of these OTP with a different value
> causes a BSEC disturb error and the closed chip will be bricked.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> ---
>
>   arch/arm/mach-stm32mp/cmd_stm32key.c | 14 ++++++++++----
>   1 file changed, 10 insertions(+), 4 deletions(-)
>

Applied to u-boot-stm/master, thanks!

Regards
Patrick



More information about the U-Boot mailing list