diff options
author | Terry Lv <r65388@freescale.com> | 2011-08-05 16:50:20 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2011-08-12 17:23:37 +0800 |
commit | c7cf313a6396c700bef9b278bc3ff8b346a3a2c1 (patch) | |
tree | c1ea63d05620e91a37873bc81d2f20c08f0caa41 /include/configs/mx53_smd.h | |
parent | 2e0022e32ae5c99c3abc7646ed1663c28495ec89 (diff) | |
download | u-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/mx53_smd.h')
-rw-r--r-- | include/configs/mx53_smd.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/configs/mx53_smd.h b/include/configs/mx53_smd.h index 8c65fd7..f19ea50 100644 --- a/include/configs/mx53_smd.h +++ b/include/configs/mx53_smd.h @@ -63,7 +63,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 @@ -234,12 +234,12 @@ * SATA Configs */ #ifdef CONFIG_CMD_SATA - #define CONFIG_DWC_AHSATA - #define CONFIG_SYS_SATA_MAX_DEVICE 1 - #define CONFIG_DWC_AHSATA_PORT_ID 0 - #define CONFIG_DWC_AHSATA_BASE_ADDR SATA_BASE_ADDR - #define CONFIG_LBA48 - #define CONFIG_LIBATA + #define CONFIG_DWC_AHSATA + #define CONFIG_SYS_SATA_MAX_DEVICE 1 + #define CONFIG_DWC_AHSATA_PORT_ID 0 + #define CONFIG_DWC_AHSATA_BASE_ADDR SATA_BASE_ADDR + #define CONFIG_LBA48 + #define CONFIG_LIBATA #endif /*----------------------------------------------------------------------- @@ -270,12 +270,12 @@ /* #define CONFIG_FSL_ENV_IN_SATA */ #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) |