]> git.sur5r.net Git - u-boot/commitdiff
arm/km: add CONFIG_KM_BOARD_EXTRA_ENV to default environment
authorHolger Brunck <holger.brunck@keymile.com>
Mon, 27 Jan 2014 15:58:25 +0000 (16:58 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 13 Feb 2014 15:17:16 +0000 (16:17 +0100)
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>
include/configs/km/km_arm.h

index e74f85f604527bb535db7eab206fb7887dd740e0..6278e76d9f80da11162cf9891634e439595f692a 100644 (file)
@@ -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"                                                    \