At present when function names are logged, the output is a little hard to
read since every function is a different length. Add a way to pad the
names so that the log messages line up vertically. This doesn't work if
the function name is very long, but it makes a big difference in most
cases.

Use 20 characters as a default since this covers the vast majority of
functions.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 common/Kconfig       |  8 ++++++++
 common/log_console.c |  2 +-
 test/log/log_test.c  | 16 +++++++++-------
 3 files changed, 18 insertions(+), 8 deletions(-)

Applied to u-boot-dm, thanks!

Reply via email to