
Hi Reinhard,
On Thu, Oct 13, 2011 at 11:13 PM, Reinhard Meyer u-boot@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 Frysingervapier@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.
From what I can tell the existing getenv() function deals with this
automatically by looking at the global flags.
And why do you mention getenv_int but implement getenv_long?
This is a mistake, sorry.
Regards, Simon
Best Regards, Reinhard