From a62f99816066992c7a3793f944d253c3c5484cda Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Mon, 21 Jul 2014 17:03:08 +0200 Subject: colibri vf50/61: update env config for environment Define the environment partition r/w in order to write the environment from Linux. Also define ENV_RANGE to make use of the whole parittion in case the partition contains bad blocks. --- include/configs/colibri_vf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index 64a4ccb73a..d6b4bb615b 100644 --- a/include/configs/colibri_vf.h +++ b/include/configs/colibri_vf.h @@ -62,7 +62,7 @@ #define MTDPARTS_DEFAULT "mtdparts=fsl_nfc:" \ "128k(vf-bcb)ro," \ "1408k(u-boot)ro," \ - "512k(u-boot-env)ro," \ + "512k(u-boot-env)," \ "8m(kernel-ubi)," \ "-(rootfs-ubi)" @@ -217,6 +217,7 @@ /* Environment organization */ #define CONFIG_ENV_IS_IN_NAND #define CONFIG_ENV_SIZE (64 * 2048) +#define CONFIG_ENV_RANGE (4 * 64 * 2048) #define CONFIG_ENV_OFFSET (12 * 64 * 2048) #define CONFIG_OF_LIBFDT -- cgit v1.2.3