[U-Boot] [PATCH] kirkwood: guruplug: Relocate NAND environment area

Gray Remlin g_remlin at rocketmail.com
Wed Oct 27 01:01:16 CEST 2010


Current default options increase u-boot size to overlap the
location of the environment in NAND, move environment higher up

Signed-off-by: Gray Remlin <g_remlin at rocketmail.com>
---
 include/configs/guruplug.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/guruplug.h b/include/configs/guruplug.h
index 2c2682c..30a6050 100644
--- a/include/configs/guruplug.h
+++ b/include/configs/guruplug.h
@@ -72,8 +72,8 @@
  * it has to be rounded to sector size
  */
 #define CONFIG_ENV_SIZE			0x20000 /* 128k */
-#define CONFIG_ENV_ADDR			0x40000
-#define CONFIG_ENV_OFFSET		0x40000 /* env starts here */
+#define CONFIG_ENV_ADDR			0x60000
+#define CONFIG_ENV_OFFSET		0x60000 /* env starts here */

 /*
  * Default environment variables
--


More information about the U-Boot mailing list