[U-Boot] [PATCH 0/3] dm: display devices in a tree-like format for easy debug

Masahiro Yamada yamada.m at jp.panasonic.com
Wed Nov 19 17:46:22 CET 2014


When I was reviewing I2C DM series, I found it difficult to
track what is going on.  "When is this node is bound/probe?" etc.

I think this tool is helpful to know which device is bound/probe.

Devices are listed like "tree" command does.



Masahiro Yamada (3):
  lib: string: move strlcpy() to a common place
  dm: add a command to list devices in a tree-like format
  sandbox: enable showdev command

 common/Makefile            |  1 +
 common/cmd_showdev.c       | 72 ++++++++++++++++++++++++++++++++++++++++++++++
 drivers/usb/gadget/ether.c | 24 ----------------
 include/configs/sandbox.h  |  1 +
 include/linux/string.h     |  3 ++
 lib/string.c               | 25 ++++++++++++++++
 6 files changed, 102 insertions(+), 24 deletions(-)
 create mode 100644 common/cmd_showdev.c

-- 
1.9.1



More information about the U-Boot mailing list