[PATCH 15/19] dm: devres: Convert to use logging
sjg at google.com
sjg at google.com
Fri Jan 10 09:57:37 CET 2020
At present when CONFIG_DEBUG_DEVRES is enabled, U-Boot prints log messages
to the console with every devres allocation/free event. This causes most
tests to fail since the console output is not as expected.
In particular this prevents us from adding a device to sandbox which uses
devres in its bind method.
Move devres over to use U-Boot's logging feature instead, and add a new
category for devres.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
drivers/core/devres.c | 6 ++++--
include/log.h | 1 +
2 files changed, 5 insertions(+), 2 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list