[U-Boot] [PATCH 0/10] Add getenv_ulong to return an environment var as a number

Simon Glass sjg at chromium.org
Fri Oct 14 23:05:34 CEST 2011


Hi Wolfgang, Mike,

On Fri, Oct 14, 2011 at 12:30 PM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Mike Frysinger,
>
> In message <201110141311.55171.vapier at gentoo.org> you wrote:
>>
>> > From what I can tell the existing getenv() function deals with this
>> > automatically by looking at the global flags.
>>
>> yep, and that should be sufficient.  in the pre-relocation stages, you can only
>> have one active getenv() at a time, but that isn't anything new, and in this
>> particular case, it's fine.
>
> No, it's not.  I NAK this.

OK I am sending a v3 patch that checks for this and does the right
thing. Maybe that will help.

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
> A wise person makes his  own  decisions,  a  weak  one  obeys  public
> opinion.                                           -- Chinese proverb
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>


More information about the U-Boot mailing list