summaryrefslogtreecommitdiff
path: root/include/configs/ti_omap5_common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-06-12 20:52:29 -0400
committerTom Rini <trini@konsulko.com>2015-06-15 10:57:28 -0400
commit08520bf5e4da36ec4a190e7234cac3e7641dc6d5 (patch)
tree51649d92d6961232df22ec53881a48294d4e8423 /include/configs/ti_omap5_common.h
parent6ce8932494043246667979b3efacdee5e4ec5dfd (diff)
omap5: Exclude more environment from SPL builds
In the cases where we make use of environment in SPL we do not need these defaults compiled in and available. These are taking up space that in some cases now prevent linking, so drop. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/ti_omap5_common.h')
-rw-r--r--include/configs/ti_omap5_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h
index 4faffef047..3da7816527 100644
--- a/include/configs/ti_omap5_common.h
+++ b/include/configs/ti_omap5_common.h
@@ -71,6 +71,7 @@
#define DFUARGS
#endif
+#ifndef CONFIG_SPL_BUILD
#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
#define CONFIG_EXTRA_ENV_SETTINGS \
DEFAULT_LINUX_BOOT_ENV \
@@ -146,6 +147,7 @@
"setenv mmcroot /dev/mmcblk0p2 rw; " \
"run mmcboot;" \
""
+#endif
/*