From d1a2f32fca16ce0ec01b3447cc4755a17aca7f0f Mon Sep 17 00:00:00 2001
From: Eric Cooper <ecc@cmu.edu>
Date: Mon, 12 Oct 2015 19:18:52 -0400
Subject: [PATCH] ARM: dockstar: move start of environment area

The default dockstar configuration for U-Boot currently causes it to
overrun the environment area, so that a "saveenv" command bricks the
device.  This patch moves the environment to a higher address to avoid
that.

Signed-off-by: Eric Cooper <ecc@cmu.edu>
---
 include/configs/dockstar.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/dockstar.h b/include/configs/dockstar.h
index a62f4e3d3b3..6ebd703d32d 100644
--- a/include/configs/dockstar.h
+++ b/include/configs/dockstar.h
@@ -57,8 +57,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
-- 
GitLab