]> code.ossystems Code Review - bsp/u-boot.git/commit
mx6sabre_common: Fix U-Boot corruption after 'saveenv'
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 21 Mar 2016 14:00:53 +0000 (11:00 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 1 Apr 2016 20:37:00 +0000 (17:37 -0300)
commitcfc4a96fb9b60c5986a39eff115d2e90df2ce543
tree4ffb6bbd74b9e1037745f128b07cab5cd820f142
parentd955806fa62038c043432fd76087c97a916d1044
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>
include/configs/mx6sabre_common.h