summaryrefslogtreecommitdiff
path: root/board/socionext
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2021-10-22 15:47:22 +0200
committerSimon Glass <sjg@chromium.org>2021-10-31 12:26:44 -0600
commit535870f3b0fb09ee9b2885409f05304111464643 (patch)
treea8acdcf4f7c39f02231dd349684657138305773a /board/socionext
parentee483902aeed69025586c38bfb73e6400bf0f9f7 (diff)
downloadu-boot-535870f3b0fb09ee9b2885409f05304111464643.tar.gz
u-boot-535870f3b0fb09ee9b2885409f05304111464643.tar.bz2
u-boot-535870f3b0fb09ee9b2885409f05304111464643.zip
board: synquacer: developerbox: Don't set gd->env_addr to default_environment
This board sets gd->env_addr to default_environment in board_init(), but the board has environment in SPI flash according to defconfig. Let the env API handle environment automatically. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Cc: Masami Hiramatsu <masami.hiramatsu@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/socionext')
-rw-r--r--board/socionext/developerbox/developerbox.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/socionext/developerbox/developerbox.c b/board/socionext/developerbox/developerbox.c
index 9552bfcdc3..31b1349514 100644
--- a/board/socionext/developerbox/developerbox.c
+++ b/board/socionext/developerbox/developerbox.c
@@ -82,8 +82,6 @@ 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;