[PATCH 00/14] Some more env fixes

Marek Behún kabel at kernel.org
Fri Oct 22 15:47:11 CEST 2021


From: Marek Behún <marek.behun at nic.cz>

Hello Tom, Simon and others,

here are some various fixes for env. More are to follow after this, the
code is horrible and I want to implement something there.

Marek Behún (14):
  env: sf: Cosmetic fix in env_sf_init_addr()
  env: sf: Use ENV_VALID enum names instead of literals
  env: sf: Put ENV_INVALID into gd->env_valid on CRC failure
  env: nand: Put ENV_INVALID into gd->env_valid if default environment
  env: nvram: Let generic env_init() assign default environment
  env: nvram: Cosmetic fix in env_nvram_init()
  env: nowhere: Let generic env_init() assign default environment
  env: nowhere: Cosmetic fix
  env: flash: Let generic env_init() assign default environment
  env: flash: Cosmetic fix
  board: synquacer: developerbox: Don't set gd->env_addr to
    default_environment
  board: freescale: various boards: Let env subsystem set gd->env_addr
  env: Always use char for default_environment
  env: Use static_assert() to check if default_environment is too large

 board/Marvell/mvebu_armada-37xx/board.c     |  2 +-
 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 ---
 board/socionext/developerbox/developerbox.c |  2 --
 env/common.c                                | 11 +++--------
 env/flash.c                                 |  5 +----
 env/nand.c                                  |  3 +--
 env/nowhere.c                               |  5 ++---
 env/nvram.c                                 |  7 +++----
 env/sf.c                                    |  7 +++----
 include/env_default.h                       | 10 ++++++++--
 include/env_internal.h                      |  4 ++--
 18 files changed, 24 insertions(+), 61 deletions(-)

-- 
2.32.0



More information about the U-Boot mailing list