From 5039aae3fbc8f4727421827c1e18b2f08cf7788f Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Thu, 11 Apr 2019 12:33:36 +0200 Subject: [PATCH] arm: kirkwood: openrd: Increase U-Boot size in flash to make it fit 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 Cc: Chris Packham Reviewed-by: Chris Packham Signed-off-by: Stefan Roese --- include/configs/openrd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/openrd.h b/include/configs/openrd.h index c96d4c4..62d8862 100644 --- a/include/configs/openrd.h +++ b/include/configs/openrd.h @@ -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. -- 2.7.4