u-boot-brain/env
Horatiu Vultur 9a9d66f5ef env: add spi_flash_read_env function
The spi_flash_read_env function is a wrapper over spi_flash_read, which
enables the env to read multiple flash page size from flash until '\0\0'
is read or the end of env partition is reached. Instead of reading the
entire env size. When it reads '\0\0', it stops reading further the env
and assumes that the rest of env is '\0'.

This is an optimization for large environments that contain few bytes
environment variables. In this case it doesn't need to read the entire
environment and only few pages.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
2019-01-16 16:14:46 -05:00
..
attr.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
callback.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
common.c common: command: Add support for $ auto-completion 2019-01-15 15:38:28 -05:00
eeprom.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
embedded.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
env.c env: sata: Add missed env location for SATA boot 2019-01-09 07:13:32 -05:00
ext4.c env: common: accept flags on reset to default env 2018-07-19 16:17:58 -04:00
fat.c env: common: accept flags on reset to default env 2018-07-19 16:17:58 -04:00
flags.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
flash.c env: allow flash and nand env driver to compile together 2018-12-04 13:07:13 -08:00
Kconfig arm64: versal: Add support for new Xilinx Versal ACAPs 2018-10-16 16:53:21 +02:00
Makefile env: Simplify Makefile using $(SPL_TPL_) 2018-07-21 12:24:31 -04:00
mmc.c env: common: accept flags on reset to default env 2018-07-19 16:17:58 -04:00
nand.c env: allow flash and nand env driver to compile together 2018-12-04 13:07:13 -08:00
nowhere.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
nvram.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
onenand.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
remote.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sata.c env: sata: Fix saveenv issue 2019-01-09 07:13:32 -05:00
sf.c env: add spi_flash_read_env function 2019-01-16 16:14:46 -05:00
ubi.c env: ubi: Add missing ENV_NAME 2018-08-24 16:00:48 -04:00