projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a66a8f
)
dm: Display the sequence number for each device
author
Simon Glass
<sjg@chromium.org>
Wed, 23 Jul 2014 12:55:13 +0000
(06:55 -0600)
committer
Simon Glass
<sjg@chromium.org>
Wed, 23 Jul 2014 13:07:25 +0000
(14:07 +0100)
Add this information to 'dm tree' and 'dm uclass' commands.
Signed-off-by: Simon Glass <sjg@chromium.org>
test/dm/cmd_dm.c
patch
|
blob
|
history
diff --git
a/test/dm/cmd_dm.c
b/test/dm/cmd_dm.c
index 93e525579d770d7c92ee257db3ef097091b70510..26980d209f4e8dede78d0d861f95a10ce0dd8232 100644
(file)
--- a/
test/dm/cmd_dm.c
+++ b/
test/dm/cmd_dm.c
@@
-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");
}