From b07f31ddba1c0de6b15dac4057d2ff3ece48107d Mon Sep 17 00:00:00 2001 From: Joseph Chen Date: Tue, 4 Jun 2019 14:40:24 +0800 Subject: [PATCH] core: dump: add "*" for node from U-Boot dtb This is useful for debugging. Change-Id: If6a6e29053c1519ec40ccbcb183e35ffd81c64e8 Signed-off-by: Joseph Chen --- drivers/core/dump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/core/dump.c b/drivers/core/dump.c index 1cc929203b..89162641f2 100644 --- a/drivers/core/dump.c +++ b/drivers/core/dump.c @@ -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) { is_last = list_is_last(&child->sibling_node, &dev->child_head);