Add getenv_ulong to return an environment var as a number
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 10 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 10 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/10] Add getenv_ulong to return an environment var as a number
Quoted 6 lines · On Friday 14 October 2011 15:27:59 Wolfgang Denk wrote:
Quoted 4 lines · Simon Glass
Quoted 1 line
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.
Quoted 7 lines
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 togetenv().
should we have getenv_ulong() and getenv_ulong_r() then ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111014/6a238260/attachment.pgp