Add getenv_ulong to return an environment var as a number
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 of 10 patches 0 repliesNew
4 of 10 patches are in this archive. The cover letter announces 10.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | Add getenv_int() to read an integer from an environment variable | +0 | 1 reply | |
| 1/10 | Add getenv_int() to read an integer from an environment variable | +0 | 1 reply | |
| 1/10 | Add getenv_int() to read an integer from an environment variable | +0 | 1 reply | |
| 4/10 | blackfin: Use getenv_ulong() in place of getenv(), strtoul | +0 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Mike Frysinger |
|---|---|
| 1/10 | |
| 1/10 | |
| 1/10 | |
| 4/10 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH 0/10] Add getenv_ulong to return an environment var as a number
Quoted 12 lines · On Friday 14 October 2011 10:31:12 Simon Glass wrote:
Quoted 11 lines · Reinhard Meyer
Quoted 10 lines
Several places in U-Boot's board files can make use of a function like this,
so this patch series creates the function, and changes the board files to use it.As suggested by Mike Frysinger<[email protected]>.
Simon Glass (10):
Addgetenv_int()to read an integer from an environment variable
Quoted 8 lines
Quoted 5 lines
Just a question (I cannot dig deep into this):
Since getenv_* might be used before relocation (it is for baudrate, am I right?),
and I cannot see howgetenv_int()would work before relocation.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.
if people need an explicit getenv_ulong_r() in the future, we can wait for someone else to propose that. but i think it unlikely.
-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/df45a9d7/attachment.pgp