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

Simon Glass sjg at chromium.org
Fri Oct 14 16:31:12 CEST 2011


Hi Reinhard,

On Thu, Oct 13, 2011 at 11:13 PM, Reinhard Meyer
<u-boot at emk-elektronik.de> wrote:
> 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.



More information about the U-Boot mailing list