summaryrefslogtreecommitdiff
path: root/include/configs/spear3xx_evb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/spear3xx_evb.h')
-rw-r--r--include/configs/spear3xx_evb.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/spear3xx_evb.h b/include/configs/spear3xx_evb.h
index d6fdc09..d603785 100644
--- a/include/configs/spear3xx_evb.h
+++ b/include/configs/spear3xx_evb.h
@@ -158,4 +158,14 @@
#endif
+/* Environment Settings */
+#if defined(CONFIG_SPEAR300)
+#define CONFIG_EXTRA_ENV_SETTINGS CONFIG_EXTRA_ENV_USBTTY
+
+#elif defined(CONFIG_SPEAR310) || defined(CONFIG_SPEAR320)
+#define CONFIG_EXTRA_ENV_UNLOCK "unlock=yes\0"
+#define CONFIG_EXTRA_ENV_SETTINGS CONFIG_EXTRA_ENV_USBTTY \
+ CONFIG_EXTRA_ENV_UNLOCK
+#endif
+
#endif /* __CONFIG_H */