[U-Boot] [PATCH v3 18/29] dm: Display the sequence number for each device

Simon Glass sjg at chromium.org
Wed Jul 23 14:55:13 CEST 2014


Add this information to 'dm tree' and 'dm uclass' commands.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v3: None
Changes in v2: None

 test/dm/cmd_dm.c | 2 ++
 1 file changed, 2 insertions(+)

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");
 }
 
-- 
2.0.0.526.g5318336



More information about the U-Boot mailing list