From 25a4f6426745a5c31588c89aa51396cee438b748 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Tue, 5 May 2015 16:30:17 +0200 Subject: colibri_t20: adjust cfgblock & u-boot env locations in flash Swap the order of the Toradex factory configuration block location in respect to the U-Boot environment. This to again be in-line with mainline. Move the Toradex factory configuration block to a 3 MB offset. --- include/configs/colibri_t20.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h index c566c75178..b50516516d 100644 --- a/include/configs/colibri_t20.h +++ b/include/configs/colibri_t20.h @@ -95,17 +95,18 @@ #define MTDIDS_DEFAULT "nand0=tegra_nand" #define MTDPARTS_DEFAULT "mtdparts=tegra_nand:" \ "2m(u-boot)ro," \ - "512k(cfgblock)ro," \ - "512k(u-boot-env)," \ + "1m(u-boot-env)," \ + "1m(cfgblock)ro," \ "-(ubi)" #undef CONFIG_CMD_IMLS /* Environment in NAND, 64K is a bit excessive but erase block is 512K anyway */ #define CONFIG_ENV_IS_IN_NAND -#define CONFIG_ENV_OFFSET (SZ_2M + SZ_512K) +#define CONFIG_ENV_OFFSET (SZ_2M) #undef CONFIG_ENV_SIZE /* undef size from tegra20-common.h */ #define CONFIG_ENV_SIZE (SZ_64K) +#define CONFIG_ENV_RANGE (SZ_1M) #define CONFIG_RBTREE #define CONFIG_LZO -- cgit v1.2.3