diff options
author | wdenk <wdenk> | 2004-06-09 14:58:14 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-06-09 14:58:14 +0000 |
commit | 13a5695b7c454d5a2a5a885002cfe0e18536dad9 (patch) | |
tree | 5241d79f04e978a427ad34f49b367984cdc88001 /common/env_common.c | |
parent | c3c7f861aef5abb5173f16af66c3941149954553 (diff) | |
download | bootable_bootloader_goldelico_gta04-13a5695b7c454d5a2a5a885002cfe0e18536dad9.zip bootable_bootloader_goldelico_gta04-13a5695b7c454d5a2a5a885002cfe0e18536dad9.tar.gz bootable_bootloader_goldelico_gta04-13a5695b7c454d5a2a5a885002cfe0e18536dad9.tar.bz2 |
Patch by Jian Zhang, 20 May 2004:
add support for environment in NAND flash
Diffstat (limited to 'common/env_common.c')
-rw-r--r-- | common/env_common.c | 3 |
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) { |