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, 2 insertions, 1 deletions
diff --git a/common/env_common.c b/common/env_common.c
index 2f7fae6244..0392006833 100644
--- a/common/env_common.c
+++ b/common/env_common.c
@@ -146,7 +146,8 @@ uchar default_environment[] = {
#if defined(CONFIG_ENV_IS_IN_NAND) /* Environment is in Nand Flash */ \
|| defined(CONFIG_ENV_IS_IN_SPI_FLASH) \
- || defined(CONFIG_ENV_IS_IN_MMC)
+ || defined(CONFIG_ENV_IS_IN_MMC) \
+ || defined(CONFIG_ENV_IS_FLASH)
int default_environment_size = sizeof(default_environment);
#endif