mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 13:56:20 +00:00
stm32mp: stm32prog: change one message level to debug
Move the message "Invalid or missing layout file." to debug level as it is a normal behavior and not an error and add the missing '\n'. This patch avoids the strange trace : Boot over usb0! Invalid or missing layout file.DFU alt info setting: done Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
This commit is contained in:
parent
69446dee37
commit
d4cb402577
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ static int do_stm32prog(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||||
|
|
||||||
ret = stm32prog_init(data, addr, size);
|
ret = stm32prog_init(data, addr, size);
|
||||||
if (ret)
|
if (ret)
|
||||||
printf("Invalid or missing layout file.");
|
log_debug("Invalid or missing layout file at 0x%lx.\n", addr);
|
||||||
|
|
||||||
/* prepare DFU for device read/write */
|
/* prepare DFU for device read/write */
|
||||||
ret = stm32prog_dfu_init(data);
|
ret = stm32prog_dfu_init(data);
|
||||||
|
|
Loading…
Add table
Reference in a new issue