diff options
author | Simon Glass <sjg@chromium.org> | 2014-11-10 17:16:47 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-11-21 08:13:02 +0100 |
commit | 3ac435d33a8f6a4e28df6bc068cb0569bc8061ad (patch) | |
tree | 9c13282080d8b92f6b83f46b393dd3567ea96610 /include/config_defaults.h | |
parent | 1151651831ff11b3f40d132bb9ab012e95a8faa1 (diff) | |
download | u-boot-3ac435d33a8f6a4e28df6bc068cb0569bc8061ad.tar.gz |
dm: Allow device removal features to be dropped
For SPL we don't expect to need to remove a device. Save some code space
by dropping this feature. The board config can define
CONFIG_DM_DEVICE_REMOVE if this is in fact needed.
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/config_defaults.h b/include/config_defaults.h index ad08c1d335..985f055cce 100644 --- a/include/config_defaults.h +++ b/include/config_defaults.h @@ -20,4 +20,8 @@ #define CONFIG_ZLIB 1 #define CONFIG_PARTITIONS 1 +#ifndef CONFIG_SPL_BUILD +#define CONFIG_DM_DEVICE_REMOVE +#endif + #endif |