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

Simon Glass sjg at chromium.org
Sun Oct 31 13:56:59 CET 2021


On Fri, 22 Oct 2021 at 07:47, Marek Behún <kabel at kernel.org> wrote:
>
> From: Marek Behún <marek.behun at nic.cz>
>
> 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 at nic.cz>
> Cc: Ramon Fried <rfried.dev at gmail.com>
> Cc: Priyanka Jain <priyanka.jain at nxp.com>
> Cc: Mian Yousaf Kaukab <ykaukab at 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 at chromium.org>

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list