]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Support sorting devices with dm tree
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:47:12 +0000 (10:47 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:39 +0000 (18:11 -0500)
commit9f226c9862811ab23b7c0165bcb3245a9b761e37
treef0ab5ee057999c7b07d19beefd3761ddeb6696a8
parentd4b83871a55dc8b3c4deb0eab656b8e73d6e4846
dm: core: Support sorting devices with dm tree

Add a -s flag to sort the top-level devices in order of uclass ID.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/dm.c
doc/usage/cmd/dm.rst
drivers/core/dump.c
include/dm/util.h
test/py/tests/test_dm.py