Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
[oweals/u-boot.git] / include / env_default.h
index 375e5ca15ca12b2f61d548512b8c49adf4ea5e20..39c5b7c6aa3b0e09c006d91bf6ec57567f4d3b22 100644 (file)
@@ -24,6 +24,8 @@
  * MA 02111-1307 USA
  */
 
+#include <env_callback.h>
+
 #ifdef DEFAULT_ENV_INSTANCE_EMBEDDED
 env_t environment __PPCENV__ = {
        ENV_CRC,        /* CRC Sum */
@@ -36,6 +38,12 @@ static char default_environment[] = {
 #else
 const uchar default_environment[] = {
 #endif
+#ifdef CONFIG_ENV_CALLBACK_LIST_DEFAULT
+       ENV_CALLBACK_VAR "=" CONFIG_ENV_CALLBACK_LIST_DEFAULT "\0"
+#endif
+#ifdef CONFIG_ENV_FLAGS_LIST_DEFAULT
+       ENV_FLAGS_VAR "=" CONFIG_ENV_FLAGS_LIST_DEFAULT "\0"
+#endif
 #ifdef CONFIG_BOOTARGS
        "bootargs="     CONFIG_BOOTARGS                 "\0"
 #endif
@@ -118,6 +126,7 @@ const uchar default_environment[] = {
        "arch="         CONFIG_SYS_ARCH                 "\0"
        "cpu="          CONFIG_SYS_CPU                  "\0"
        "board="        CONFIG_SYS_BOARD                "\0"
+       "board_name="   CONFIG_SYS_BOARD                "\0"
 #ifdef CONFIG_SYS_VENDOR
        "vendor="       CONFIG_SYS_VENDOR               "\0"
 #endif