diff options
author | Tom Rini <trini@konsulko.com> | 2019-01-15 22:05:34 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-01-15 22:05:34 -0500 |
commit | aac0c29d4b8418c5c78b552070ffeda022b16949 (patch) | |
tree | 1f539113f2121d84b6f62421a066505d753a2fdc /drivers/core | |
parent | f4cfd73943032729c9ad6ddd054bcf2ff8205b6d (diff) | |
parent | f51f6715a5013f37620c38f0430e21d4736e235a (diff) |
Merge tag 'dm-pull-15jan19' of git://git.denx.de/u-boot-dm
Fix recent changes to serial API for driver model
Buildman clang support and a few fixes
Small fixes to 'dm tree' and regmap test
Improve sandbox build compatibility
A few other minor fixes
Diffstat (limited to 'drivers/core')
-rw-r--r-- | drivers/core/dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/core/dump.c b/drivers/core/dump.c index 04217cbde8..8fbfd93fb5 100644 --- a/drivers/core/dump.c +++ b/drivers/core/dump.c @@ -16,7 +16,7 @@ static void show_devices(struct udevice *dev, int depth, int last_flag) struct udevice *child; /* print the first 20 characters to not break the tree-format. */ - printf(" %-10.10s %d [ %c ] %-20.20s ", dev->uclass->uc_drv->name, + printf(" %-10.10s %2d [ %c ] %-20.20s ", dev->uclass->uc_drv->name, dev_get_uclass_index(dev, NULL), dev->flags & DM_FLAG_ACTIVATED ? '+' : ' ', dev->driver->name); @@ -49,7 +49,7 @@ void dm_dump_all(void) root = dm_root(); if (root) { - printf(" Class index Probed Driver Name\n"); + printf(" Class Index Probed Driver Name\n"); printf("-----------------------------------------------------------\n"); show_devices(root, -1, 0); } |