board: ge: ppd: Fix environment variable location
authorNandor Han <nandor.han@ge.com>
Thu, 15 Feb 2018 10:41:21 +0000 (11:41 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 29 Mar 2018 15:28:05 +0000 (17:28 +0200)
This fixes environment variable location to avoid overlapping with
U-Boot itself. Also more space for environment variables has been
reserved to prevent future issues.

Signed-off-by: Nandor Han <nandor.han@ge.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
include/configs/mx53ppd.h

index ed8ac48e0157781b0181925f91d9f22bbfc9d161..00132d174319570de799fae21de6b6b4fb54bf90 100644 (file)
        (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
 
 /* FLASH and environment organization */
-#define CONFIG_ENV_OFFSET      (6 * 64 * 1024)
-#define CONFIG_ENV_SIZE        (8 * 1024)
+#define CONFIG_ENV_OFFSET      (12 * 64 * 1024)
+#define CONFIG_ENV_SIZE        (10 * 1024)
 #define CONFIG_ENV_IS_IN_MMC
 #define CONFIG_SYS_MMC_ENV_DEV 0