With GCC 7.3 and the addition of device-tree to Kirkwood, the U-Boot
image does not fit any more into its 0x60000 area. Let's move the
environment so that U-Boot will fit also with the upcoming changes
for Kirkwood (add DM support etc).

Signed-off-by: Stefan Roese <s...@denx.de>
Cc: Tom Rini <tr...@konsulko.com>
Cc: Chris Packham <judge.pack...@gmail.com>
Cc: Albert ARIBAUD <albert-u-b...@aribaud.net>
Cc: Clint Adams <cl...@debian.org>
---
 include/configs/openrd.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/openrd.h b/include/configs/openrd.h
index dfdad56dcc..3fe0a32a55 100644
--- a/include/configs/openrd.h
+++ b/include/configs/openrd.h
@@ -42,8 +42,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 */
 /*
  * Environment is right behind U-Boot in flash. Make sure U-Boot
  * doesn't grow into the environment area.
-- 
2.17.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to