Hi Quentin,

> +config ENV_VAR_WHITELIST
> +     bool "Enable overriding some variables from secondary
> environments"
> +     help
> +       This allows overriding some variables from secondary
> environments.
> +       After the first valid environment is loaded, a secondary
> environment
> +       is pre-loaded and its variables that are present in the
> whitelist will
> +       be added to the current environment or will override
> existing
> +       variables.

This description seems to do what is already done in the "env import"
command.

It also allows for setting env variables from HUSH prompt.

Maybe it would be possible to re-use or extend it to suits your needs?


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de

Attachment: pgpOBogtv0_Hd.pgp
Description: OpenPGP digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to