Re: [PATCH 12/14] board: freescale: various boards: Let env subsystem set gd->env_addr

Simon Glass
2021-10-31T12:58:23Z

> Various freescale boards set gd->env_addr to default_environment in
> board_init(), conditional on CONFIG_ENV_IS_NOWHERE, but this is
> redundant, since it is done by env_init() before board_init() is called.
>
> Let the env subsystem handle this.
>
> Signed-off-by: Marek Behún <marek.behun@nic.cz>
> Cc: Ramon Fried <rfried.dev@gmail.com>
> Cc: Priyanka Jain <priyanka.jain@nxp.com>
> Cc: Mian Yousaf Kaukab <ykaukab@suse.de>
> ---
> board/freescale/ls1012afrdm/ls1012afrdm.c | 4 ----
> board/freescale/ls1012aqds/ls1012aqds.c | 4 ----
> board/freescale/ls1012ardb/ls1012ardb.c | 4 ----
> board/freescale/ls1028a/ls1028a.c | 4 ----
> board/freescale/ls1088a/ls1088a.c | 4 ----
> board/freescale/ls2080aqds/ls2080aqds.c | 3 ---
> board/freescale/ls2080ardb/ls2080ardb.c | 3 ---
> board/freescale/lx2160a/lx2160a.c | 3 ---
> 8 files changed, 29 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-dm, thanks!