Commit 390cdcda1b1d07eb054120e9bdfc4374b6ef8f6e
Committed by
Albert ARIBAUD
1 parent
e423a8f76d
Exists in
master
and in
54 other branches
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>
Showing 1 changed file with 1 additions and 2 deletions Side-by-side Diff
include/configs/cm_t35.h
... | ... | @@ -77,7 +77,7 @@ |
77 | 77 | /* |
78 | 78 | * Size of malloc() pool |
79 | 79 | */ |
80 | -#define CONFIG_ENV_SIZE (128 << 10) /* 128 KiB */ | |
80 | +#define CONFIG_ENV_SIZE (16 << 10) /* 16 KiB */ | |
81 | 81 | /* Sector */ |
82 | 82 | #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (128 << 10)) |
83 | 83 | |
... | ... | @@ -315,7 +315,6 @@ |
315 | 315 | #define ONENAND_ENV_OFFSET 0x260000 /* environment starts here */ |
316 | 316 | #define SMNAND_ENV_OFFSET 0x260000 /* environment starts here */ |
317 | 317 | |
318 | -#define CONFIG_SYS_ENV_SECT_SIZE (128 << 10) /* 128 KiB */ | |
319 | 318 | #define CONFIG_ENV_OFFSET SMNAND_ENV_OFFSET |
320 | 319 | #define CONFIG_ENV_ADDR SMNAND_ENV_OFFSET |
321 | 320 |