[U-Boot] [PATCH v3 3/8] env: Extract getenv_f() into separate source file

Stefan Roese sr at denx.de
Wed Sep 26 13:07:15 CEST 2012


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



More information about the U-Boot mailing list