env: Remove all dependencies for SYS_REDUNDAND_ENVIRONMENT
authorMichal Simek <michal.simek@xilinx.com>
Wed, 13 Jan 2021 09:25:50 +0000 (10:25 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 20 Jan 2021 07:34:53 +0000 (08:34 +0100)
commit4e3fc5efeb70857ef2f9a2afd0a587c032c9a07b
tree8cd9addbedce99593012539a38190e6b474d7c1d
parenta672b9871b57fa1f1e86faa33360a49e218b9c57
env: Remove all dependencies for SYS_REDUNDAND_ENVIRONMENT

CONFIG_SYS_REDUNDAND_ENVIRONMENT is changing in env_internal.h how u-boot
works with variables. struct environment_s has one byte flags property
which also affects ENV_SIZE macro.

I have reached the case where CONFIG_ENV_IS_NOWHERE is default setup
but custom scripts can be designed in a way that u-boot is asked to
import/export variables from/to file which can be in certain format.
That's why also for this configuration make sense to enable
CONFIG_SYS_REDUNDAND_ENVIRONMENT because it depends on environment file
format.

The patch is removing dependency on this configuration to support selecting
environment file format without any specific dependency where variables are
stored.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
env/Kconfig