Skip to content

Add getenv_ulong to return an environment var as a number

Wolfgang Denk u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/10arm: Use getenv_ulong() in place of getenv(), strtoul+0 -00 replies
2/10arm: Use getenv_ulong() in place of getenv(), strtoul+0 -01 reply
3/10avr32: Use getenv_ulong() in place of getenv(), strtoul+0 -00 replies
4/10blackfin: Use getenv_ulong() in place of getenv(), strtoul+0 -00 replies
5/10m68k: Use getenv_ulong() in place of getenv(), strtoul+0 -00 replies
6/10microblaze: Use getenv_ulong() in place of getenv(), strtoul+0 -00 replies
7/10mips: Use getenv_ulong() in place of getenv(), strtoul+0 -00 replies
8/10powerpc: Use getenv_ulong() in place of getenv(), strtoul+0 -00 replies
9/10sparc: Use getenv_ulong() in place of getenv(), strtoul+0 -00 replies
10/10x86: Use getenv_ulong() in place of getenv(), strtoul+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

Dear Mike Frysinger,

Quoted 7 lines · In message <[email protected]> you wrote:
Quoted 3 lines

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.

Best regards,

Wolfgang Denk

Signature · 5 lines
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