arm: kirkwood: openrd: Increase U-Boot size in flash to make it fit
authorStefan Roese <sr@denx.de>
Thu, 11 Apr 2019 10:33:36 +0000 (12:33 +0200)
committerStefan Roese <sr@denx.de>
Fri, 26 Apr 2019 05:35:38 +0000 (07:35 +0200)
We have run now multiple times into size issues with the openrd
board port. To finally fix this, this patch now moves the U-Boot size
from 0x6.0000 to 0x8.0000, giving enough space for the next time.

This also changes the environment location and potentially the
MTD partitioning, but I see no better fix for now. Especially since
this board does not have an active maintainer.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Stefan Roese <sr@denx.de>
include/configs/openrd.h

index c96d4c4d48af476c6073a2556180a8ce2ede902b..62d8862cc755f25e90930b4d71d71d06f2042aea 100644 (file)
@@ -41,7 +41,7 @@
  * it has to be rounded to sector size
  */
 #define CONFIG_ENV_SIZE                        0x20000 /* 128k */
-#define CONFIG_ENV_OFFSET              0x60000 /* env starts here */
+#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.