diff options
author | Fabio Estevam <festevam@gmail.com> | 2018-11-30 12:52:13 -0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-01-01 14:12:18 +0100 |
commit | 57d2beb91d705bccdfee5e9e5fd267f5e363a100 (patch) | |
tree | ac62242005584a9a2288e742c0a7b0849fc6a1bc /include/spl.h | |
parent | acdf10e17937f4b23fb2613e148caf25aac62c37 (diff) |
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>
Diffstat (limited to 'include/spl.h')
0 files changed, 0 insertions, 0 deletions