[U-Boot] [PATCH 1/3] tt01: fix environment size

Helmut Raiger helmut.raiger at hale.at
Mon Jan 30 15:21:53 CET 2012


size of environment must match erasable block size in the flash.

Signed-off-by: Helmut Raiger <helmut.raiger at hale.at>
---
 include/configs/tt01.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/configs/tt01.h b/include/configs/tt01.h
index 6846816..8dd657c 100644
--- a/include/configs/tt01.h
+++ b/include/configs/tt01.h
@@ -131,7 +131,7 @@
 
 #define CONFIG_ENV_IS_IN_FLASH
 #define CONFIG_ENV_SECT_SIZE	(128 * 1024)
-#define CONFIG_ENV_SIZE		(8 * 1024) /* smaller for faster access */
+#define CONFIG_ENV_SIZE		(128 * 1024)
 
 /* Address and size of Redundant Environment Sector	*/
 #define CONFIG_ENV_OFFSET_REDUND	(CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
-- 
1.7.4.4



--
Scanned by MailScanner.



More information about the U-Boot mailing list