From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 8 Oct 2016 13:08:26 -0400 Subject: [U-Boot] [U-Boot, v1] spl: saveenv: adding saveenv support in SPL In-Reply-To: <1475054178-18479-1-git-send-email-ravibabu@ti.com> References: <1475054178-18479-1-git-send-email-ravibabu@ti.com> Message-ID: <20161008170826.GC4884@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Sep 28, 2016 at 02:46:18PM +0530, B, Ravi wrote: > By default saveenv option is not supported for SPL. This patch > enable the support for save environment variable for SPL build. > > Enable save environment support in SPL after setenv. By default > the saveenv option is not provided in SPL, but some boards need > this support in 'Falcon' boot, where SPL need to boot from > different images based on environment variable set by OS. For > example OS may set "reboot_image" environment variable to > "recovery" inorder to boot recovery image by SPL. The SPL read > "reboot_image" and act accordingly and change the reboot_image > to default mode using setenv and save the environemnt. > > Signed-off-by: Ravi Babu > Reviewed-by: Simon Glass > > > change in v1: > - dropped SUPPORT, use CONFIG_SPL_SAVEENV > - updates the comments in mmc_private.h Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: