mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 18:34:42 +00:00
dm: Display the sequence number for each device
Add this information to 'dm tree' and 'dm uclass' commands. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5a66a8ff86
commit
b7d665705e
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ static void dm_display_line(struct udevice *dev, char *buf)
|
|||
printf("%s- %c %s @ %08lx", buf,
|
||||
dev->flags & DM_FLAG_ACTIVATED ? '*' : ' ',
|
||||
dev->name, (ulong)map_to_sysmem(dev));
|
||||
if (dev->req_seq != -1)
|
||||
printf(", %d", dev->req_seq);
|
||||
puts("\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue