]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Show device sequence instead in dm_dump_tree()
authorZixun LI <admin@hifiphile.com>
Fri, 2 Aug 2024 09:28:12 +0000 (11:28 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 27 Aug 2024 20:30:02 +0000 (14:30 -0600)
commit2d76e724b412bbe8cfed2157f78a3fb2602c2d6d
tree295d09cb166e58bb96380627882027a24fb4f625
parent8a5642fa840308875ffff388dd87636f68725883
dm: core: Show device sequence instead in dm_dump_tree()

Currently uclass index is shown in DM tree dump which ignores alias
sequence numbering. The result could be confusing since these 2 numbers
could be different. Show device sequence number instead as it's more
meaningful.

Also update documentation to use sequence number.

Signed-off-by: Zixun LI <admin@hifiphile.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
doc/usage/cmd/dm.rst
drivers/core/dump.c