From: Igor Grinberg Date: Thu, 24 May 2012 04:01:21 +0000 (+0000) Subject: cm-t35: reduce the environment size X-Git-Tag: v2012.07-rc1~11^2~154 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=390cdcda1b1d07eb054120e9bdfc4374b6ef8f6e;p=oweals%2Fu-boot.git cm-t35: reduce the environment size Reduce the environment size (128KB => 16KB) to improve the environment operations time (e.g. reading, ecc calculation). Also, remove the unused CONFIG_SYS_ENV_SECT_SIZE. Signed-off-by: Igor Grinberg --- diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h index 782d28c55d..b97e887150 100644 --- a/include/configs/cm_t35.h +++ b/include/configs/cm_t35.h @@ -77,7 +77,7 @@ /* * Size of malloc() pool */ -#define CONFIG_ENV_SIZE (128 << 10) /* 128 KiB */ +#define CONFIG_ENV_SIZE (16 << 10) /* 16 KiB */ /* Sector */ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (128 << 10)) @@ -315,7 +315,6 @@ #define ONENAND_ENV_OFFSET 0x260000 /* environment starts here */ #define SMNAND_ENV_OFFSET 0x260000 /* environment starts here */ -#define CONFIG_SYS_ENV_SECT_SIZE (128 << 10) /* 128 KiB */ #define CONFIG_ENV_OFFSET SMNAND_ENV_OFFSET #define CONFIG_ENV_ADDR SMNAND_ENV_OFFSET