]> git.dujemihanovic.xyz Git - u-boot.git/commit
pico-imx6ul: Increase the CONFIG_ENV_OFFSET size
authorFabio Estevam <festevam@gmail.com>
Thu, 12 Sep 2019 14:15:54 +0000 (11:15 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:35:59 +0000 (16:35 +0200)
commit831824c0a795286f4ba2a83c4eefb2162c054f2b
tree19253e25ba2935c58457dff158903bcd6832a8d3
parent998800108928873d83d2da243623c937510fc3ef
pico-imx6ul: 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>
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
include/configs/pico-imx6ul.h