dm: Disable dm_warn() in SPL
authorSimon Glass <sjg@chromium.org>
Tue, 11 Nov 2014 00:16:49 +0000 (17:16 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 21 Nov 2014 07:13:17 +0000 (08:13 +0100)
commita94f468fa292c43be7ac9fe35adea5065fbc2a28
tree19a70320b071289967b55ec4d4e2071431cb203a
parent236f2bd30262f564c0bb71638105e525ddf47b9f
dm: Disable dm_warn() in SPL

Since this function can use up quite a bit of space for its strings, disable
it by default in SPL. Use CONFIG_DM_WARN to re-enable it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@ti.com>
include/config_defaults.h
include/dm/util.h