]> Git Repo - J-u-boot.git/commitdiff
board: synquacer: developerbox: Don't set gd->env_addr to default_environment
authorMarek Behún <[email protected]>
Fri, 22 Oct 2021 13:47:22 +0000 (15:47 +0200)
committerSimon Glass <[email protected]>
Sun, 31 Oct 2021 18:26:44 +0000 (12:26 -0600)
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 <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
board/socionext/developerbox/developerbox.c

index 9552bfcdc3bb64cbc3125057bfb50d615c6555c7..31b1349514d53321822aa071e76c446338cc9fa3 100644 (file)
@@ -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;
This page took 0.035303 seconds and 4 git commands to generate.