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

Reinhard Meyer u-boot at emk-elektronik.de
Fri Oct 14 08:13:58 CEST 2011


Dear Simon Glass,
> 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<vapier at gentoo.org>.
>
>
> 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


More information about the U-Boot mailing list