[U-Boot] [PATCH 06/17] env: Add the ability to merge the saved env with the default.

Simon Glass sjg at chromium.org
Wed Nov 7 01:53:04 CET 2012


Hi Wolfgang,

On Sat, Nov 3, 2012 at 8:28 AM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Simon Glass,
>
> In message <1351902453-27956-7-git-send-email-sjg at chromium.org> you wrote:
>> From: Doug Anderson <dianders at chromium.org>
>>
>> This is a useful mechanism any time you have a way to update the
>> saved environment outside of u-boot.  This can be a tool like
>> fw_setenv.
>
> I don't see the need for this.
>
> What exactly does it that "env reset" followed by "env import" does not
> do?

It allows the environment to either overwrite or merge, under the
control of the imported environment itself. I suppose the same could
be achieved by a script anyway. Let's drop it.

Regards,
Simon

>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Don't put off for tomorrow what you can  do  today,  because  if  you
> enjoy it today you can do it again tomorrow.


More information about the U-Boot mailing list