mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-13 20:36:02 +01:00
dm: core: Use full SPL printf() format when enabled
Signed-off-by: Samuel Holland <samuel@sholland.org>
This commit is contained in:
parent
30355416b3
commit
a859c666c7
@ -17,7 +17,7 @@ static void show_devices(struct udevice *dev, int depth, int last_flag)
|
||||
u32 flags = dev_get_flags(dev);
|
||||
|
||||
/* print the first 20 characters to not break the tree-format. */
|
||||
printf(IS_ENABLED(CONFIG_SPL_BUILD) ? " %s %d [ %c ] %s " :
|
||||
printf(CONFIG_IS_ENABLED(USE_TINY_PRINTF) ? " %s %d [ %c ] %s " :
|
||||
" %-10.10s %3d [ %c ] %-20.20s ", dev->uclass->uc_drv->name,
|
||||
dev_get_uclass_index(dev, NULL),
|
||||
flags & DM_FLAG_ACTIVATED ? '+' : ' ', dev->driver->name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user