[PATCH 04/20] dm: core: Allow dm_warn() to be used in SPL

Simon Glass sjg at chromium.org
Tue Oct 27 02:01:14 CET 2020


At present this option is disabled in SPL, meaning that warnings are not
displayed. It is sometimes useful to see warnings in SPL for debugging
purposes.

Add a new Kconfig option to permit this.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/core/Kconfig       | 18 ++++++++++++++++--
 drivers/core/util.c        |  2 +-
 include/config_uncmd_spl.h |  1 -
 include/dm/util.h          |  2 +-
 4 files changed, 18 insertions(+), 5 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list