core: dump: increase info length
Change-Id: Ide57bc45fcdeb5fb158ae67d0c56a9f80ac4d8cf Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
parent
68d7ed5765
commit
d114ba00ec
|
|
@ -16,7 +16,7 @@ static void show_devices(struct udevice *dev, int depth, int last_flag)
|
||||||
struct udevice *child;
|
struct udevice *child;
|
||||||
|
|
||||||
/* print the first 11 characters to not break the tree-format. */
|
/* print the first 11 characters to not break the tree-format. */
|
||||||
printf(" %-10.10s [ %c ] %-10.10s ", dev->uclass->uc_drv->name,
|
printf(" %-10.10s [ %c ] %-25.25s ", dev->uclass->uc_drv->name,
|
||||||
dev->flags & DM_FLAG_ACTIVATED ? '+' : ' ', dev->driver->name);
|
dev->flags & DM_FLAG_ACTIVATED ? '+' : ' ', dev->driver->name);
|
||||||
|
|
||||||
for (i = depth; i >= 0; i--) {
|
for (i = depth; i >= 0; i--) {
|
||||||
|
|
@ -48,8 +48,8 @@ void dm_dump_all(void)
|
||||||
|
|
||||||
root = dm_root();
|
root = dm_root();
|
||||||
if (root) {
|
if (root) {
|
||||||
printf(" Class Probed Driver Name\n");
|
printf(" Class Probed Driver Name\n");
|
||||||
printf("----------------------------------------\n");
|
printf("----------------------------------------------------------\n");
|
||||||
show_devices(root, -1, 0);
|
show_devices(root, -1, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue