]> git.sur5r.net Git - u-boot/commitdiff
ARM: dockstar: move start of environment area
authorEric Cooper <ecc@cmu.edu>
Mon, 12 Oct 2015 23:18:52 +0000 (19:18 -0400)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 19 Oct 2015 05:28:54 +0000 (07:28 +0200)
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

index a62f4e3d3b3d6f62ae35ca2e9b090fddcb822c6b..6ebd703d32dcd7789fab001ceef43bacc79c026e 100644 (file)
@@ -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