u-boot-brain/common/spl
B, Ravi d2d9bdfcf9 spl: saveenv: adding saveenv support in SPL
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 <ravibabu@ti.com>
Reviewed-by: Simon Glass <sig@chromium.org>

change in v1:
	- dropped SUPPORT, use CONFIG_SPL_SAVEENV
	- updates the comments in mmc_private.h
2016-10-08 09:33:36 -04:00
..
Kconfig spl: saveenv: adding saveenv support in SPL 2016-10-08 09:33:36 -04:00
Makefile spl: spi: Move the generic SPI loader into common/spl 2016-10-06 15:07:33 -04:00
spl_dfu.c spl: dfu: adding dfu support functions for SPL-DFU 2016-09-27 23:30:19 +02:00
spl_ext.c spl: Update ext functions to take an spl_image parameter 2016-10-06 15:08:53 -04:00
spl_fat.c spl: Update spl_load_simple_fit() to take an spl_image param 2016-10-06 15:08:54 -04:00
spl_fit.c spl: Update spl_load_simple_fit() to take an spl_image param 2016-10-06 15:08:54 -04:00
spl_mmc.c spl: Update spl_load_simple_fit() to take an spl_image param 2016-10-06 15:08:54 -04:00
spl_nand.c spl: Update spl_load_simple_fit() to take an spl_image param 2016-10-06 15:08:54 -04:00
spl_net.c spl: Pass spl_image as a parameter to load_image() methods 2016-10-06 15:08:52 -04:00
spl_nor.c spl: Pass spl_image as a parameter to load_image() methods 2016-10-06 15:08:52 -04:00
spl_onenand.c spl: Pass spl_image as a parameter to load_image() methods 2016-10-06 15:08:52 -04:00
spl_sata.c spl: Update fat functions to take an spl_image parameter 2016-10-06 15:08:53 -04:00
spl_spi.c spl: Update spl_load_simple_fit() to take an spl_image param 2016-10-06 15:08:54 -04:00
spl_ubi.c spl: Pass spl_image as a parameter to load_image() methods 2016-10-06 15:08:52 -04:00
spl_usb.c spl: Update fat functions to take an spl_image parameter 2016-10-06 15:08:53 -04:00
spl_ymodem.c spl: Update spl_load_simple_fit() to take an spl_image param 2016-10-06 15:08:54 -04:00
spl.c spl: Make spl_boot_list a local variable 2016-10-06 15:08:55 -04:00