diff options
author | Jason <r64343@freescale.com> | 2009-11-30 17:35:50 +0800 |
---|---|---|
committer | Jason <r64343@freescale.com> | 2009-12-08 18:11:50 +0800 |
commit | a012066c0996d8b79b815470aded18e266733e2b (patch) | |
tree | f2c908671b70a642baa09650dfff05b45053287c /include/configs/mx35_3stack.h | |
parent | d8667412a8b7e1ad96979bc2191b4e3fa90c8254 (diff) | |
download | u-boot-imx-a012066c0996d8b79b815470aded18e266733e2b.zip u-boot-imx-a012066c0996d8b79b815470aded18e266733e2b.tar.gz u-boot-imx-a012066c0996d8b79b815470aded18e266733e2b.tar.bz2 |
ENGR00118789 Uboot:Update NAND scan scheme to support new nand type
Update NAND scan scheme to support new nand type. With this
patch uboot can support new NAND flash on mx25/mx35 board
while compatible with old NAND on old boards.
Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'include/configs/mx35_3stack.h')
-rw-r--r-- | include/configs/mx35_3stack.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/mx35_3stack.h b/include/configs/mx35_3stack.h index f0d3d63..b2fb714 100644 --- a/include/configs/mx35_3stack.h +++ b/include/configs/mx35_3stack.h @@ -196,7 +196,7 @@ #define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE /* Address and size of Redundant Environment Sector */ -#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE) +#define CONFIG_ENV_OFFSET_REDUND (2 * 1024 * 1024) #define CONFIG_ENV_SIZE_REDUND CONFIG_ENV_SIZE /* @@ -215,7 +215,7 @@ #if defined(CONFIG_FSL_ENV_IN_NAND) #define CONFIG_ENV_IS_IN_NAND 1 - #define CONFIG_ENV_OFFSET (768 * 1024) + #define CONFIG_ENV_OFFSET (1024 * 1024) #elif defined(CONFIG_FSL_ENV_IS_IN_FLASH) #define CONFIG_ENV_IS_IN_FLASH 1 #endif |