u-boot/drivers/mmc
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
..
arm_pl180_mmci.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
arm_pl180_mmci.h mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
atmel_sdhci.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
bcm2835_sdhci.c mmc: bcm2835: fix 64-bit build warning 2016-03-27 09:12:21 -04:00
bfin_sdh.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
davinci_mmc.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
dw_mmc.c mmc: dw_mmc: push/pop all FIFO data if any data request 2016-09-21 16:00:14 +09:00
exynos_dw_mmc.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
fsl_esdhc.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
fsl_esdhc_spl.c block: pass block dev not num to read/write/erase() 2016-01-13 21:05:18 -05:00
ftsdc010_mci.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
ftsdc021_sdhci.c mmc: add Faraday FTSDC021 SDHCI controller support 2013-12-08 14:23:05 +02:00
gen_atmel_mci.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
hi6220_dw_mmc.c treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
Kconfig mmc: uniphier-sd: migrate to CONFIG_BLK 2016-09-14 22:54:19 +09:00
kona_sdhci.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
Makefile spl: saveenv: adding saveenv support in SPL 2016-10-08 09:33:36 -04:00
mmc-uclass.c mmc: display mmc list information like mmc_legacy type 2016-08-05 11:21:25 +09:00
mmc.c mmc: sd: extracting erase related information from sd status 2016-09-20 06:46:01 +09:00
mmc_boot.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
mmc_legacy.c mmc: mmc_legacy: fix the compiler error with disabled CONFIG_DM_MMC_OPS 2016-08-16 10:27:24 +09:00
mmc_private.h spl: saveenv: adding saveenv support in SPL 2016-10-08 09:33:36 -04:00
mmc_spi.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
mmc_write.c mmc: sd: optimize erase 2016-09-20 06:46:01 +09:00
msm_sdhci.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
mv_sdhci.c mmc: mv_sdhci: Configure the SDHCI MBUS bridge windows 2015-10-21 02:25:02 +02:00
mvebu_mmc.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
mxcmmc.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
mxsmmc.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
omap_hsmmc.c drivers: mmc: omap_hsmmc: fix build breakage 2016-08-16 10:24:10 +09:00
pci_mmc.c mmc: sdhci: add const qualifier to the name of struct sdhci_host 2016-04-25 15:10:42 -04:00
pic32_sdhci.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
pxa_mmc_gen.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
rockchip_dw_mmc.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
rockchip_sdhci.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
rpmb.c Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header 2015-09-11 17:15:20 -04:00
s3c_sdi.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
s5p_sdhci.c mmc: s5p_sdhci: unset the SDHCI_QUIRK_BROKEN_R1B 2016-08-05 11:21:24 +09:00
sandbox_mmc.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
sdhci.c mmc: sdhci: Add the programmable clock mode support 2016-09-20 06:46:01 +09:00
sh_mmcif.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
sh_mmcif.h ARM: Rmobile: Rename CONFIG_RMOBILE to CONFIG_ARCH_RMOBILE 2016-08-17 10:25:34 +09:00
sh_sdhi.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
socfpga_dw_mmc.c dm: socfpga: mmc: Support CONFIG_BLK 2016-07-27 14:15:54 -06:00
spear_sdhci.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sunxi_mmc.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
tegra_mmc.c mmc: tegra: only use new clock/reset APIs 2016-09-27 09:11:03 -07:00
uniphier-sd.c mmc: uniphier-sd: migrate to CONFIG_BLK 2016-09-14 22:54:19 +09:00
zynq_sdhci.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00