[U-Boot] [PATCH] fw_env: Make env flash lock optional

Wolfgang Denk wd at denx.de
Thu Jun 2 15:36:48 CEST 2016


Dear Dirk,

In message <CANVMifJG+MdmMSjBpciuk0xcfdhMDywDkg9WZ4Skrez0ccFwYw at mail.gmail.com> you wrote:
> 
> There are  cornercases where lock/unlock works properly in the kernel
> but not in u-boot. So we might have an environment that was locked by
> u-boot and are able to unlock it with fw_env.

But then such a "fix" looks wrong to me.  If it works in Linux, why
not fix the code so it works in U-Boot, too?  I mean, if you have a
working example, that should be possible, or not?

Best regards,

Wolfgang Denk

-- 
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: wd at denx.de
That said, there may be good reasons for what you did beyond obsequi-
ous sycophantic parody. Perhaps you might be so kind as to elucidate.
         -- Tom Christiansen in <5ldjbm$jtk$1 at csnews.cs.colorado.edu>


More information about the U-Boot mailing list