mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
@@ -12,7 +12,7 @@ Synopis
|
||||
dm devres
|
||||
dm drivers
|
||||
dm static
|
||||
dm tree
|
||||
dm tree [-s]
|
||||
dm uclass
|
||||
|
||||
Description
|
||||
@@ -123,6 +123,9 @@ Name
|
||||
Shows the device name as well as the tree structure, since child devices are
|
||||
shown attached to their parent.
|
||||
|
||||
If -s is given, the top-level devices (those which are children of the root
|
||||
device) are shown sorted in order of uclass ID, so it is easier to find a
|
||||
particular device type.
|
||||
|
||||
dm uclass
|
||||
~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user