From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 26 Sep 2012 13:07:15 +0200 Subject: [U-Boot] [PATCH v3 3/8] env: Extract getenv_f() into separate source file In-Reply-To: <1348650074-25878-4-git-send-email-sr@denx.de> References: <1348650074-25878-1-git-send-email-sr@denx.de> <1348650074-25878-4-git-send-email-sr@denx.de> Message-ID: <5062E1E3.40802@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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