[U-Boot] [PATCH 0/10] Add getenv_ulong to return an environment var as a number
Wolfgang Denk
wd at denx.de
Fri Oct 14 21:27:59 CEST 2011
Dear Simon Glass,
In message <CAPnjgZ1L_5wuenKG25COx+-xHr+ULU82-X1HCg_E2r9ut8dGPw at mail.gmail.com> you wrote:
>
> > and I cannot see how getenv_int() would work before relocation.
>
> From what I can tell the existing getenv() function deals with this
> automatically by looking at the global flags.
This is intended just for emergency cases to fix a number of places
where code is broken, and maintainers don't bother to fix their code.
It is NOT recommended to use this in general.
Please do NOT replace the use of getenv_f() with (direct or indirect)
calls to getenv().
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
There are bugs and then there are bugs. And then there are bugs.
- Karl Lehenbauer
More information about the U-Boot
mailing list