ARM: sheevaplug: change env location
authorDrEagle <dreagle@doukki.net>
Sun, 7 Sep 2014 16:01:20 +0000 (18:01 +0200)
committerPrafulla Wadaskar <prafulla@marvell.com>
Wed, 1 Oct 2014 11:04:32 +0000 (07:04 -0400)
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@doukki.net>
 Changes in v2:
 - patch description

 Changes in v1:
 - fix sheevaplug environment offset
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
include/configs/sheevaplug.h

index 4747adfeb0d57e07c7c8cc6a63166e98f12d739b..d89bc37206fd0fab0430cbbef3f9ba7e0db940af 100644 (file)
@@ -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