]> git.baikalelectronics.ru Git - uboot.git/commit
dm: print the index of the device when dumping the dm tree
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 9 Aug 2018 14:17:43 +0000 (16:17 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 21 Aug 2018 14:21:37 +0000 (16:21 +0200)
commit667031dbad1072b5e63d709f0216a7cb0fa399dd
tree0a4faf00e9082f3348b4b6f243fc7c1bf48f536d
parent5614c4781fabd97f3c1354d0f40eeb52fb809c28
dm: print the index of the device when dumping the dm tree

Command "dm tree" dumps the devices with class, driver, name information.
Add the index of the device in the class too, because the information is
useful for the bind/unbind commands.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/dump.c