Skip to content

Add getenv_ulong to return an environment var as a number

Reinhard Meyer u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. 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.

Read the v1 thread

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

Dear Simon Glass,

Quoted 9 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):
Add getenv_int() to read an integer from an environment variable

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 how getenv_int() would work before relocation.

And why do you mention getenv_int but implement getenv_long?

Best Regards,
Reinhard