
26 Sep
2012
26 Sep
'12
1:07 p.m.
On 09/26/2012 11:01 AM, Stefan Roese wrote:
By extracting getenv_f and envmatch() from cmd_nvedit.c into a separate file, getenv_f() can be included easily into the SPL binary. With this, SPL boards can now use getenv_f() to read environment variables (e.g. to detect if the OS or U-Boot shall be executed).
In the approach this is done for env stored in NOR flash, as this will be used by an upcoming MPC5200 board port.
This patch is not needed as it seems. I'll post a new version in a short while that only enables the needed files for SPL_BUILD.
Thanks, Stefan