From 73efb734a2b5eea2e63824978bc9e9a3ba1e34e8 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Thu, 27 Nov 2014 23:33:01 +0100 Subject: 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. --- include/configs/colibri_vf.h | 3 +-- 1 file changed, 1 insertion(+), 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 #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 -- cgit v1.2.3