core: dump: add "*" for node from U-Boot dtb
This is useful for debugging. Change-Id: If6a6e29053c1519ec40ccbcb183e35ffd81c64e8 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
parent
054229abb7
commit
b07f31ddba
|
|
@ -34,7 +34,8 @@ static void show_devices(struct udevice *dev, int depth, int last_flag)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("%s\n", dev->name);
|
printf("%s %s\n", dev->name,
|
||||||
|
dev_read_bool(dev, "u-boot,dm-pre-reloc") ? "*" : "");
|
||||||
|
|
||||||
list_for_each_entry(child, &dev->child_head, sibling_node) {
|
list_for_each_entry(child, &dev->child_head, sibling_node) {
|
||||||
is_last = list_is_last(&child->sibling_node, &dev->child_head);
|
is_last = list_is_last(&child->sibling_node, &dev->child_head);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue