diff options
| author | Masami Hiramatsu <[email protected]> | 2021-11-18 14:45:25 +0900 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-11-18 14:22:11 -0500 |
| commit | 0171d056ec8b9be9d90af64adce54c6a5571dd15 (patch) | |
| tree | 2ca697127b15eb6c008bc6eba91c6665ed3b743f | |
| parent | 3144ba23bf4649f699078259fdf2e5cb4eab8f53 (diff) | |
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 <[email protected]>
Reviewed-by: Marek BehĂșn <[email protected]>
| -rw-r--r-- | board/socionext/developerbox/developerbox.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/socionext/developerbox/developerbox.c b/board/socionext/developerbox/developerbox.c index 31b1349514d..9552bfcdc3b 100644 --- a/board/socionext/developerbox/developerbox.c +++ b/board/socionext/developerbox/developerbox.c @@ -82,6 +82,8 @@ int board_init(void) { gd->bd->bi_boot_params = CONFIG_SYS_LOAD_ADDR + LOAD_OFFSET; + gd->env_addr = (ulong)&default_environment[0]; + synquacer_setup_scbm_smmu(); return 0; |
