mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
dm: Show both allocated and requested seq numbers in 'dm uclass'
Both of these values are useful for understanding what is going on, so show them both. The requested number comes from a device tree alias. The allocated one is set up when the device is activated, and is unique throughout the uclass. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
02c07b3741
commit
fa67f90fc3
1 changed files with 2 additions and 2 deletions
|
@ -77,8 +77,8 @@ static void dm_display_line(struct udevice *dev)
|
|||
printf("- %c %s @ %08lx",
|
||||
dev->flags & DM_FLAG_ACTIVATED ? '*' : ' ',
|
||||
dev->name, (ulong)map_to_sysmem(dev));
|
||||
if (dev->req_seq != -1)
|
||||
printf(", %d", dev->req_seq);
|
||||
if (dev->seq != -1 || dev->req_seq != -1)
|
||||
printf(", seq-%d, (req=%d)", dev->seq, dev->req_seq);
|
||||
puts("\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue