From 535870f3b0fb09ee9b2885409f05304111464643 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Beh=C3=BAn?= Date: Fri, 22 Oct 2021 15:47:22 +0200 Subject: [PATCH] board: synquacer: developerbox: Don't set gd->env_addr to default_environment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Cc: Masami Hiramatsu Reviewed-by: Simon Glass --- board/socionext/developerbox/developerbox.c | 2 -- 1 file changed, 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; -- 2.39.5