summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-07-23 06:55:13 -0600
committerSimon Glass <sjg@chromium.org>2014-07-23 14:07:25 +0100
commitb7d665705ebb29f06616b7f365ab8732e9779bf6 (patch)
tree2fc643df6d78681ef796945b8923f6409224e363
parent5a66a8ff86d923367ca9a1f6168e976fbde27391 (diff)
downloadu-boot-imx-b7d665705ebb29f06616b7f365ab8732e9779bf6.zip
u-boot-imx-b7d665705ebb29f06616b7f365ab8732e9779bf6.tar.gz
u-boot-imx-b7d665705ebb29f06616b7f365ab8732e9779bf6.tar.bz2
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>
-rw-r--r--test/dm/cmd_dm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dm/cmd_dm.c b/test/dm/cmd_dm.c
index 93e5255..26980d2 100644
--- 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");
}