u-boot/arch/arm/mach-stm32mp/cmd_stm32prog
Patrick Delaunay 09f50c75a1 stm32mp: stm32prog: fix OTP read/write error management
Avoid to ignore the OTP read/write error and transmits the error
to STM32CubeProgrammer.

Today the error is only displayed in log error:
so the user on HOST thinks the OTP operation is performed.

Reported-by: Mickael GARDET <m.gardet@overkiz.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Fixes: 75ea9e75931c ("stm32mp: stm32prog: add TEE support in stm32prog command")
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2023-06-16 11:16:31 +02:00
..
cmd_stm32prog.c stm32mp: stm32prog: Remove tee_detected from stm32prog_data struct 2023-06-16 11:01:16 +02:00
Kconfig stm32mp: stm32prog: add TEE support in stm32prog command 2022-05-10 10:56:39 +02:00
Makefile stm32mp: stm32prog: Add CONFIG_CMD_STM32PROG_SERIAL and _USB 2021-03-11 17:41:17 +01:00
stm32prog.c stm32mp: stm32prog: fix OTP read/write error management 2023-06-16 11:16:31 +02:00
stm32prog.h stm32mp: stm32prog: Add support of FWU_MDATA partition type 2023-06-16 11:04:41 +02:00
stm32prog_serial.c stm32mp: stm32prog: solve warning for 64bits compilation 2022-09-23 13:58:20 +02:00
stm32prog_usb.c stm32mp: stm32prog: solve warning for 64bits compilation 2022-09-23 13:58:20 +02:00