diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2014-07-21 17:03:08 +0200 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2014-07-21 17:03:08 +0200 |
commit | a62f99816066992c7a3793f944d253c3c5484cda (patch) | |
tree | ede34248d1e736e1929f19963b58cf0f7939e476 /include | |
parent | 8871853b26f83bb9d2b016fb8978e22a66c5d798 (diff) |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/colibri_vf.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |