aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHolger Brunck2014-01-27 16:58:25 +0100
committerAlbert ARIBAUD2014-02-13 16:17:16 +0100
commit56cde17760deacc45866cdc6a2248d0fc245026d (patch)
tree1e8e57c404e8e519b285355d62fe766741740f48 /include
parent2a4ebef267ffb615ff753f6ce804e0643110e5a4 (diff)
arm/km: add CONFIG_KM_BOARD_EXTRA_ENV to default environment
This is needed for board specific additional environment variables. E.g. the mgcoge3un has this additional "waitforne" variable. Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Acked-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/km/km_arm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index e74f85f6045..6278e76d9f8 100644
--- a/include/configs/km/km_arm.h
+++ b/include/configs/km/km_arm.h
@@ -289,10 +289,15 @@ int get_scl(void);
" ${addr} " __stringify(CONFIG_ENV_OFFSET_REDUND) " 4\0"
#endif
+#ifndef CONFIG_KM_BOARD_EXTRA_ENV
+#define CONFIG_KM_BOARD_EXTRA_ENV ""
+#endif
+
/*
* Default environment variables
*/
#define CONFIG_EXTRA_ENV_SETTINGS \
+ CONFIG_KM_BOARD_EXTRA_ENV \
CONFIG_KM_DEF_ENV \
CONFIG_KM_NEW_ENV \
"arch=arm\0" \