On Sun, Jun 24, 2018 at 07:16:55PM +0300, Yaniv Levinsky wrote:

> The env_flag in do_env_default() doesn't get propagated and therefore
> gets ignored by himport_r(). This breaks to ability to "forcibly" reset
> variables to their default values using the environment command.
> 
> Scenario example of the problem:
>       # setenv kernel uImage
>       # setenv .flags kernel:so
>       # env default -f kernel
>       ## Error: Can't overwrite "kernel"
>       himport_r: can't insert "kernel=zImage" into hash table
> 
> Change the call path so it will pass the flag correctly.
> 
> Signed-off-by: Yaniv Levinsky <yaniv.levin...@compulab.co.il>
> Acked-by: Igor Grinberg <grinb...@compulab.co.il>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

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

Reply via email to