[PATCH v2 3/4] dm: core: migrate debug() messages to use dm_warn
Simon Glass
sjg at chromium.org
Tue Jun 11 20:51:59 CEST 2024
On Tue, 11 Jun 2024 at 07:04, Quentin Schulz <foss+uboot at 0leil.net> wrote:
>
> From: Quentin Schulz <quentin.schulz at cherry.de>
>
> Prior to that, seeing the debug() messages required to enable DM_DEBUG
> which defines DEBUG (and then _DEBUG) which in turn makes failing
> assert() calls reset U-Boot which isn't necessarily what is desired.
>
> Instead, let's migrate to dm_warn which is using log_debug when unset or
> log_warn when set.
>
> While at it, reword the DM_DEBUG symbol in Kconfig to explain what it
> now actually does.
>
> Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
> ---
> drivers/core/device.c | 2 +-
> drivers/core/fdtaddr.c | 7 +++--
> drivers/core/lists.c | 2 +-
> drivers/core/of_access.c | 51 +++++++++++++++---------------
> drivers/core/of_addr.c | 41 ++++++++++++------------
> drivers/core/of_extra.c | 33 ++++++++++----------
> drivers/core/ofnode.c | 81 ++++++++++++++++++++++++------------------------
> drivers/core/regmap.c | 57 +++++++++++++++++-----------------
> drivers/core/root.c | 14 ++++-----
> drivers/core/uclass.c | 4 +--
> 10 files changed, 149 insertions(+), 143 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list