diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2014-11-27 23:33:01 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2014-11-27 23:33:01 +0100 |
commit | 73efb734a2b5eea2e63824978bc9e9a3ba1e34e8 (patch) | |
tree | bd25926831e222932abd0bf13fd0c6361b8d6a07 | |
parent | 4cabd68701e13ef94c7f533e05721ab1553daace (diff) |
colibri_vf: set environment range correct
Environment range is used to move the config block to the next block
in case the first erase block of the environment is marked as bad
block. The absence of this config made saving of the environment
impossible when the first block of the environment partition was
marked bad.
-rw-r--r-- | include/configs/colibri_vf.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index 6a6c54a061..3f77d43170 100644 --- a/include/configs/colibri_vf.h +++ b/include/configs/colibri_vf.h @@ -16,7 +16,6 @@ #include <config_cmd_default.h> #define CONFIG_VF610 - #define CONFIG_SYS_THUMB_BUILD #define CONFIG_USE_ARCH_MEMCPY #define CONFIG_USE_ARCH_MEMSET @@ -235,7 +234,7 @@ #ifdef CONFIG_ENV_IS_IN_NAND #define CONFIG_ENV_SIZE (64 * 2048) -#define CONFIG_ENV_SECT_SIZE (64 * 2048) +#define CONFIG_ENV_RANGE (4 * 64 * 2048) #define CONFIG_ENV_OFFSET (12 * 64 * 2048) #endif |