summaryrefslogtreecommitdiff
path: root/include/configs/mx50_rd3.h
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2011-08-05 16:50:20 +0800
committerTerry Lv <r65388@freescale.com>2011-08-12 17:23:37 +0800
commitc7cf313a6396c700bef9b278bc3ff8b346a3a2c1 (patch)
treec1ea63d05620e91a37873bc81d2f20c08f0caa41 /include/configs/mx50_rd3.h
parent2e0022e32ae5c99c3abc7646ed1663c28495ec89 (diff)
downloadu-boot-imx-c7cf313a6396c700bef9b278bc3ff8b346a3a2c1.zip
u-boot-imx-c7cf313a6396c700bef9b278bc3ff8b346a3a2c1.tar.gz
u-boot-imx-c7cf313a6396c700bef9b278bc3ff8b346a3a2c1.tar.bz2
ENGR00154396: U_BOOT: Env config adjustment.
Change env size to 8K and change gpmi nand env offset to 2M. This will reduce boot time and fix gpmi nand env problem. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include/configs/mx50_rd3.h')
-rw-r--r--include/configs/mx50_rd3.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/mx50_rd3.h b/include/configs/mx50_rd3.h
index 58229a1..904ddf7 100644
--- a/include/configs/mx50_rd3.h
+++ b/include/configs/mx50_rd3.h
@@ -64,7 +64,7 @@
/*
* Size of malloc() pool
*/
-#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024)
+#define CONFIG_SYS_MALLOC_LEN (3 * 1024 * 1024)
/* size in bytes reserved for initial data */
#define CONFIG_SYS_GBL_DATA_SIZE 128
@@ -283,12 +283,12 @@
/* Monitor at beginning of flash */
#define CONFIG_FSL_ENV_IN_MMC
-#define CONFIG_ENV_SECT_SIZE (128 * 1024)
+#define CONFIG_ENV_SECT_SIZE (8 * 1024)
#define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE
#if defined(CONFIG_FSL_ENV_IN_NAND)
#define CONFIG_ENV_IS_IN_NAND 1
- #define CONFIG_ENV_OFFSET 0x100000
+ #define CONFIG_ENV_OFFSET 0x200000
#elif defined(CONFIG_FSL_ENV_IN_MMC)
#define CONFIG_ENV_IS_IN_MMC 1
#define CONFIG_ENV_OFFSET (768 * 1024)