rv1126-uboot/env
Joseph Chen 2ba7147f80 env: add a common env driver for block device
The driver implementation refers to env/mmc.c, the storage media
binding to block layer can use it(Nand/Nor Flash...).

Support configure:
	- CONFIG_ENV_OFFSET
	- CONFIG_ENV_SIZE
	- CONFIG_ENV_OFFSET_REDUND (optional)
	- CONFIG_ENV_SIZE_REDUND (optional)
	- CONFIG_SYS_MMC_ENV_PART (optional)

Change-Id: Ibb16f0dd7af1331f454784968fbdc9002f4b769c
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-05-24 11:35:28 +08:00
..
Kconfig env: add a common env driver for block device 2019-05-24 11:35:28 +08:00
Makefile env: add a common env driver for block device 2019-05-24 11:35:28 +08:00
attr.c
callback.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
common.c rockchip: fixup "kernel_addr_r" when bl32 is disabled 2018-12-10 14:51:17 +08:00
eeprom.c env: Replace all open-coded gd->env_valid values with ENV_ flags 2017-08-20 19:27:44 -04:00
embedded.c
env.c env: add a common env driver for block device 2019-05-24 11:35:28 +08:00
env_blk.c env: add a common env driver for block device 2019-05-24 11:35:28 +08:00
ext4.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
fat.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
flags.c env: Rename some other getenv()-related functions 2017-08-16 08:31:11 -04:00
flash.c env: Replace all open-coded gd->env_valid values with ENV_ flags 2017-08-20 19:27:44 -04:00
mmc.c UPSTREAM: env: suppress a spurious warning with GCC 7.1 2018-01-17 15:27:28 +08:00
nand.c env: Replace all open-coded gd->env_valid values with ENV_ flags 2017-08-20 19:27:44 -04:00
nowhere.c env: Correct case of no sub-init function 2017-08-20 19:27:28 -04:00
nvram.c env: Replace all open-coded gd->env_valid values with ENV_ flags 2017-08-20 19:27:44 -04:00
onenand.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
remote.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
sata.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
sf.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
ubi.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00