]> git.baikalelectronics.ru Git - uboot.git/commit
stm32mp: stm32prog: correctly handle OTP when SMC is not supported
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 6 Sep 2022 16:53:20 +0000 (18:53 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 23 Sep 2022 11:58:20 +0000 (13:58 +0200)
commit7eb00e8cd7b29beb047795ba09b678861d52aa81
treee92d005590b32891a9943014cdf1513a7a773ea7
parentfc9330e13df1105643f32c93bb83d1a958203f94
stm32mp: stm32prog: correctly handle OTP when SMC is not supported

As the SMC is only supported in SP-MIN for STM32MP15x, the associated
partition should be absent when the TA NVMEM is not available in OPT-TEE
in STM32MP13x.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h