summaryrefslogtreecommitdiff
path: root/include/configs/MPC8569MDS.h
diff options
context:
space:
mode:
authorHaiying Wang <Haiying.Wang@freescale.com>2010-09-29 13:44:14 -0400
committerKumar Gala <galak@kernel.crashing.org>2010-10-07 09:49:47 -0500
commit1b8e4fa1a093c818b53c8b6d959bcfde41fbe065 (patch)
tree20139b85c2a456b3741b139e4aa1a72dbc8bc4ba /include/configs/MPC8569MDS.h
parentd6288664743cdd4824cb877ca424619c827c1256 (diff)
downloadu-boot-imx-1b8e4fa1a093c818b53c8b6d959bcfde41fbe065.zip
u-boot-imx-1b8e4fa1a093c818b53c8b6d959bcfde41fbe065.tar.gz
u-boot-imx-1b8e4fa1a093c818b53c8b6d959bcfde41fbe065.tar.bz2
mpc8569mds: fix CONFIG_ENV_SIZE
CONFIG_ENV_SIZE of MPC8569MDS was wrongly set to CONFIG_ENV_SECT_SIZE which is 128KB, so it took longer time to do crc32 calculation for ENV than it should do. It causes the bootup for MPC8569MDS significantly slow. This patch fixs it to 0x2000(8KB), also fix the comment for CONFIG_ENV_SECT_SIZE to correct size. Signed-off-by: Kai.Jiang <Kai.Jiang@freescale.com Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/configs/MPC8569MDS.h')
-rw-r--r--include/configs/MPC8569MDS.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/MPC8569MDS.h b/include/configs/MPC8569MDS.h
index 8ffd458..936f1af 100644
--- a/include/configs/MPC8569MDS.h
+++ b/include/configs/MPC8569MDS.h
@@ -505,8 +505,8 @@ extern unsigned long get_clock_freq(void);
#else
#define CONFIG_ENV_IS_IN_FLASH 1
#define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE - CONFIG_ENV_SECT_SIZE)
-#define CONFIG_ENV_SECT_SIZE 0x20000 /* 256K(one sector) for env */
-#define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE
+#define CONFIG_ENV_SECT_SIZE 0x20000 /* 128K(one sector) for env */
+#define CONFIG_ENV_SIZE 0x2000
#endif
#define CONFIG_LOADS_ECHO 1 /* echo on for serial download */