From: Igor Grinberg Date: Thu, 24 May 2012 17:01:21 +0300 Subject: [U-Boot] [PATCH 1/4] cm-t35: reduce the environment size In-Reply-To: <1337868084-6637-1-git-send-email-grinberg@compulab.co.il> References: <1337868084-6637-1-git-send-email-grinberg@compulab.co.il> Message-ID: <1337868084-6637-2-git-send-email-grinberg@compulab.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- include/configs/cm_t35.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h index cac7bd1..7f13e79 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)) @@ -325,7 +325,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 -- 1.7.3.4