mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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 535870f3b0
.
Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
This commit is contained in:
parent
3144ba23bf
commit
0171d056ec
1 changed files with 2 additions and 0 deletions
|
@ -82,6 +82,8 @@ int board_init(void)
|
||||||
{
|
{
|
||||||
gd->bd->bi_boot_params = CONFIG_SYS_LOAD_ADDR + LOAD_OFFSET;
|
gd->bd->bi_boot_params = CONFIG_SYS_LOAD_ADDR + LOAD_OFFSET;
|
||||||
|
|
||||||
|
gd->env_addr = (ulong)&default_environment[0];
|
||||||
|
|
||||||
synquacer_setup_scbm_smmu();
|
synquacer_setup_scbm_smmu();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue