]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: migrate debug() messages to use dm_warn
authorQuentin Schulz <quentin.schulz@cherry.de>
Tue, 11 Jun 2024 13:04:26 +0000 (15:04 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 3 Jul 2024 06:36:33 +0000 (07:36 +0100)
commit6afdb1585112ca5171613f3f4957de4acbe1048d
tree90bd0a8638cd904679ea5847e772a6f500fb1b34
parent29010cd31be2bc6f674459137b5dcc054b77c042
dm: core: migrate debug() messages to use dm_warn

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@cherry.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c
drivers/core/fdtaddr.c
drivers/core/lists.c
drivers/core/of_access.c
drivers/core/of_addr.c
drivers/core/of_extra.c
drivers/core/ofnode.c
drivers/core/regmap.c
drivers/core/root.c
drivers/core/uclass.c