summaryrefslogtreecommitdiff
path: root/include/config_defaults.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-11-10 17:16:49 -0700
committerSimon Glass <sjg@chromium.org>2014-11-21 08:13:17 +0100
commita94f468fa292c43be7ac9fe35adea5065fbc2a28 (patch)
tree19a70320b071289967b55ec4d4e2071431cb203a /include/config_defaults.h
parent236f2bd30262f564c0bb71638105e525ddf47b9f (diff)
downloadu-boot-imx-a94f468fa292c43be7ac9fe35adea5065fbc2a28.zip
u-boot-imx-a94f468fa292c43be7ac9fe35adea5065fbc2a28.tar.gz
u-boot-imx-a94f468fa292c43be7ac9fe35adea5065fbc2a28.tar.bz2
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>
Diffstat (limited to 'include/config_defaults.h')
-rw-r--r--include/config_defaults.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config_defaults.h b/include/config_defaults.h
index f1b225d..4d49315 100644
--- a/include/config_defaults.h
+++ b/include/config_defaults.h
@@ -21,6 +21,7 @@
#define CONFIG_PARTITIONS 1
#ifndef CONFIG_SPL_BUILD
+#define CONFIG_DM_WARN
#define CONFIG_DM_DEVICE_REMOVE
#define CONFIG_DM_STDIO
#endif