From a94f468fa292c43be7ac9fe35adea5065fbc2a28 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 10 Nov 2014 17:16:49 -0700 Subject: 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 Reviewed-by: Tom Rini --- include/config_defaults.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/config_defaults.h') diff --git a/include/config_defaults.h b/include/config_defaults.h index f1b225d670..4d49315044 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 -- cgit v1.2.3