Revert "board: synquacer: developerbox: Don't set gd->env_addr to default_environment"
authorMasami Hiramatsu <masami.hiramatsu@linaro.org>
Thu, 18 Nov 2021 05:45:25 +0000 (14:45 +0900)
committerTom Rini <trini@konsulko.com>
Thu, 18 Nov 2021 19:22:11 +0000 (14:22 -0500)
commit0171d056ec8b9be9d90af64adce54c6a5571dd15
tree2ca697127b15eb6c008bc6eba91c6665ed3b743f
parent3144ba23bf4649f699078259fdf2e5cb4eab8f53
Revert "board: synquacer: developerbox: Don't set gd->env_addr to default_environment"

Without default setting of gd->env_addr, U-Boot will cause
a synchronous abort if the env-variables on the SPI flash is
broken or not saved corectly. Set gd->env_addr correctly.

This reverts commit 535870f3b0fb09ee9b2885409f05304111464643.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>
board/socionext/developerbox/developerbox.c