From: DrEagle <dreagle@doukki.net>
Date: Sun, 7 Sep 2014 16:01:20 +0000 (+0200)
Subject: ARM: sheevaplug: change env location
X-Git-Tag: v2025.01-rc5-pxa1908~14583^2~1^2~5
X-Git-Url: http://git.dujemihanovic.xyz/browse.php?a=commitdiff_plain;h=4dfb0e4d3e75763d6fbe8788316bea9ba23e8e01;p=u-boot.git

ARM: sheevaplug: change env location

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>
---

diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
index 4747adfeb0..d89bc37206 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