summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-03-21 11:00:53 -0300
committerStefano Babic <sbabic@denx.de>2016-03-25 14:02:58 +0100
commit8fb9eea5653796fea69a45b82cacb6d378a569f0 (patch)
treeea7259a4dcbb9d7aea7f4ccaf162806d3df4faef /include/configs
parentb10d93ee9e56ff1848aaf739d19dd9bd43af4ce9 (diff)
downloadu-boot-imx-8fb9eea5653796fea69a45b82cacb6d378a569f0.zip
u-boot-imx-8fb9eea5653796fea69a45b82cacb6d378a569f0.tar.gz
u-boot-imx-8fb9eea5653796fea69a45b82cacb6d378a569f0.tar.bz2
mx6sabre_common: Fix U-Boot corruption after 'saveenv'
Booting mx6qp sabreauto board and then doing: => saveenv => reset , causes a system hang. This happens because the size of the U-Boot binary is larger than CONFIG_ENV_OFFSET. Fix this problem by increasing CONFIG_ENV_OFFSET, so that the U-boot binary and the environment variables region do not overlap. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx6sabre_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h
index a6d821b..112f187 100644
--- a/include/configs/mx6sabre_common.h
+++ b/include/configs/mx6sabre_common.h
@@ -209,7 +209,7 @@
#define CONFIG_ENV_IS_IN_MMC
#if defined(CONFIG_ENV_IS_IN_MMC)
-#define CONFIG_ENV_OFFSET (8 * 64 * 1024)
+#define CONFIG_ENV_OFFSET (768 * 1024)
#endif
/* Framebuffer */