]> git.baikalelectronics.ru Git - uboot.git/commit
pico-imx7d: Increase the CONFIG_ENV_OFFSET size
authorFabio Estevam <festevam@gmail.com>
Fri, 30 Nov 2018 14:52:13 +0000 (12:52 -0200)
committerStefano Babic <sbabic@denx.de>
Tue, 1 Jan 2019 13:12:18 +0000 (14:12 +0100)
commitc42aa927d49066c7714767031899af53cc0f9ece
treeac62242005584a9a2288e742c0a7b0849fc6a1bc
parent857fbf4a8784099fd1c36fc868419c038bfdc77e
pico-imx7d: Increase the CONFIG_ENV_OFFSET size

U-Boot binary has grown in such a way that it goes beyond the reserved
area for the environment variables.

Running "saveenv" causes U-Boot to hang because of this overlap.

Fix this problem by increasing the CONFIG_ENV_OFFSET size.

Also, in order to prevent this same problem in the future, use
CONFIG_BOARD_SIZE_LIMIT, which will detect the overlap in build-time.

CONFIG_BOARD_SIZE_LIMIT does not accept math expressions, so declare
CONFIG_ENV_OFFSET with its direct value instead.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
include/configs/pico-imx7d.h