diff options
author | Patrick Delaunay <patrick.delaunay@foss.st.com> | 2022-01-18 10:33:14 +0100 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2022-01-24 11:01:41 +0100 |
commit | 94e561f84af579dacdfccfd44aedb7c0dcc26081 (patch) | |
tree | 4f076bb4c2b6c22b0693488033ec9b407c8f47e2 /arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c | |
parent | 046bdb806407976cabce77eb304bb29fa70180f0 (diff) |
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>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c')
0 files changed, 0 insertions, 0 deletions