commit | 79b5937efb349e25fb9fb37a014fbda74648712c | [log] [tgz] |
---|---|---|
author | wdenk <wdenk> | Wed Jun 09 14:58:14 2004 +0000 |
committer | wdenk <wdenk> | Wed Jun 09 14:58:14 2004 +0000 |
tree | 5241d79f04e978a427ad34f49b367984cdc88001 | |
parent | 76dd6c78ce2d2313343fce5f7e984a6c4a17a941 [diff] [blame] |
Patch by Jian Zhang, 20 May 2004: add support for environment in NAND flash
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 @@ "\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) {