diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2012-05-24 04:01:21 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-07-07 14:07:24 +0200 |
commit | 390cdcda1b1d07eb054120e9bdfc4374b6ef8f6e (patch) | |
tree | c5ff3226a6335cbaa037c0db09027a79b5fc4055 /include/configs/cm_t35.h | |
parent | e423a8f76d8dac55d067fd4c0eea8f18fb8929dc (diff) | |
download | u-boot-imx-390cdcda1b1d07eb054120e9bdfc4374b6ef8f6e.zip u-boot-imx-390cdcda1b1d07eb054120e9bdfc4374b6ef8f6e.tar.gz u-boot-imx-390cdcda1b1d07eb054120e9bdfc4374b6ef8f6e.tar.bz2 |
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 <grinberg@compulab.co.il>
Diffstat (limited to 'include/configs/cm_t35.h')
-rw-r--r-- | 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 782d28c..b97e887 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 |