[PATCH v2] env: Remove all dependencies for SYS_REDUNDAND_ENVIRONMENT

Tom Rini trini at konsulko.com
Tue Jan 19 20:45:28 CET 2021


On Mon, Jan 18, 2021 at 09:11:26AM +0100, Michal Simek wrote:

> 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 at xilinx.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210119/9debd0f7/attachment.sig>


More information about the U-Boot mailing list