mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-14 15:16:16 +09:00
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>
This commit is contained in:
parent
e423a8f76d
commit
390cdcda1b
|
@ -77,7 +77,7 @@
|
||||||
/*
|
/*
|
||||||
* Size of malloc() pool
|
* Size of malloc() pool
|
||||||
*/
|
*/
|
||||||
#define CONFIG_ENV_SIZE (128 << 10) /* 128 KiB */
|
#define CONFIG_ENV_SIZE (16 << 10) /* 16 KiB */
|
||||||
/* Sector */
|
/* Sector */
|
||||||
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (128 << 10))
|
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (128 << 10))
|
||||||
|
|
||||||
|
@ -315,7 +315,6 @@
|
||||||
#define ONENAND_ENV_OFFSET 0x260000 /* environment starts here */
|
#define ONENAND_ENV_OFFSET 0x260000 /* environment starts here */
|
||||||
#define SMNAND_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_OFFSET SMNAND_ENV_OFFSET
|
||||||
#define CONFIG_ENV_ADDR SMNAND_ENV_OFFSET
|
#define CONFIG_ENV_ADDR SMNAND_ENV_OFFSET
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user