u-boot/arch/arm/mach-stm32mp/cmd_stm32prog
Patrick Delaunay 94e561f84a stm32prog: add partition name in treat_partition_list error messages
Add the partition name and remove the line number in error messages
of treat_partition_list() to provide correct information to user of
STM32CubeProgrammer.

The "line number" value was confusing because it is incorrect here;
the index in  part_array[] is not aligned with the line number in
the parsed Layout file, because the empty lines and the lines beginning
by '#' are skipped during the first parsing in parse_flash_layout().

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2022-01-24 11:01:41 +01:00
..
cmd_stm32prog.c stm32mp1: stm32prog: remove stm32prog_get_tee_partitions with FIP 2021-08-16 09:36:31 +02:00
Kconfig stm32mp: stm32prog: Normalise newlines 2021-11-10 15:11:15 +01:00
Makefile stm32mp: stm32prog: Add CONFIG_CMD_STM32PROG_SERIAL and _USB 2021-03-11 17:41:17 +01:00
stm32prog.c stm32prog: add partition name in treat_partition_list error messages 2022-01-24 11:01:41 +01:00
stm32prog.h stm32mp1: stm32prog: remove stm32prog_get_tee_partitions with FIP 2021-08-16 09:36:31 +02:00
stm32prog_serial.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
stm32prog_usb.c stm32mp: stm32prog: use defines for virtual partition size 2021-07-16 09:28:46 +02:00