[U-Boot] [PATCH 1/5] ARM: sheevaplug: change env location

Gerald Kerma drEagle at doukki.net
Sun Sep 7 18:01:20 CEST 2014


This patch move the environment offset in sheevaplug.
The size of the u-boot binary is become too big.
Fix saving environments was result of corrupting the u-boot.

Signed-off-by: Gerald Kerma <drEagle at doukki.net>

 Changes in v2:
 - patch description

 Changes in v1:
 - fix sheevaplug environment offset

---
 include/configs/sheevaplug.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
index 4747adf..d89bc37 100644
--- a/include/configs/sheevaplug.h
+++ b/include/configs/sheevaplug.h
@@ -54,8 +54,8 @@
  * it has to be rounded to sector size
  */
 #define CONFIG_ENV_SIZE			0x20000	/* 128k */
-#define CONFIG_ENV_ADDR			0x60000
-#define CONFIG_ENV_OFFSET		0x60000	/* env starts here */
+#define CONFIG_ENV_ADDR			0x80000
+#define CONFIG_ENV_OFFSET		0x80000	/* env starts here */
 
 /*
  * Default environment variables
-- 
1.9.1



More information about the U-Boot mailing list