core: dump: increase info length

Change-Id: Ide57bc45fcdeb5fb158ae67d0c56a9f80ac4d8cf
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
Joseph Chen 2018-07-17 12:02:35 +08:00 committed by Jianhong Chen
parent 68d7ed5765
commit d114ba00ec
1 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ static void show_devices(struct udevice *dev, int depth, int last_flag)
struct udevice *child;
/* 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);
for (i = depth; i >= 0; i--) {
@ -48,8 +48,8 @@ void dm_dump_all(void)
root = dm_root();
if (root) {
printf(" Class Probed Driver Name\n");
printf("----------------------------------------\n");
printf(" Class Probed Driver Name\n");
printf("----------------------------------------------------------\n");
show_devices(root, -1, 0);
}
}