summaryrefslogtreecommitdiff
path: root/common/env_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/env_common.c')
-rw-r--r--common/env_common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/env_common.c b/common/env_common.c
index 4aa043e..9be4cc1 100644
--- a/common/env_common.c
+++ b/common/env_common.c
@@ -139,6 +139,9 @@ uchar default_environment[] = {
"\0"
};
+#if defined(CFG_ENV_IS_IN_NAND) /* Environment is in Nand Flash */
+int default_environment_size = sizeof(default_environment);
+#endif
void env_crc_update (void)
{