]> git.baikalelectronics.ru Git - uboot.git/commit
stm32mp: update uart number in trace of serial device not found
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 6 Apr 2021 07:27:38 +0000 (09:27 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 9 Apr 2021 09:53:00 +0000 (11:53 +0200)
commit0fa7954802e26836bd6930e2b42ced811206e05b
tree4500391ea9edf9ddde1231466513add5db2f4ea9
parent90d7ec4952ed70c75fdd1682aac047602b938ab8
stm32mp: update uart number in trace of serial device not found

Align the uart number in the trace of setup_boot_mode() with the name of
the uart/usart device (start at 1) and not with the instance value
(start at 0), i.e. the serial device sequence number and the index in
serial_addr[].

Fixes: d41084c1ed40d ("stm32mp: stm32prog: replace alias by serial
device sequence number")

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