u-boot/env
Patrick Delaunay d2103e20a9 env: mmc: add CONFIG_ENV_MMC_USE_DT
Add a new config CONFIG_ENV_MMC_USE_DT to force configuration of the
U-Boot environment offset with device tree config node.

This patch avoids issues when several CONFIG_ENV_IS_IN_XXX are activated,
the defconfig file uses the same value for CONFIG_ENV_OFFSET or
CONFIG_ENV_OFFSET_REDUND for the several ENV backends (SPI_FLASH, EEPROM
NAND, SATA, MMC).

After this patch a bad offset value is not possible when the selected
partition in device tree is not found.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2023-01-10 12:37:09 -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 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
common.c dm: core: Rename ofnode_get_property_by_prop() 2022-09-29 16:11:14 -04:00
eeprom.c env: eeprom: Remove CONFIG_I2C_ENV_EEPROM_BUS support 2022-12-22 10:31:48 -05:00
embedded.c env: Rework ENV_IS_EMBEDDED and related logic slightly 2022-12-22 10:31:47 -05:00
env.c env: Implement lower priority arch_env_get_location() 2022-04-21 09:08:40 -04:00
ext4.c Add SCSI scan for ENV in EXT4 or FAT 2022-07-08 09:05:47 -04:00
fat.c Add SCSI scan for ENV in EXT4 or FAT 2022-07-08 09:05:47 -04:00
flags.c env: Fix warning when forcing environment without ENV_ACCESS_IGNORE_FORCE 2021-04-16 11:55:55 -04:00
flash.c Audit <flash.h> inclusion 2022-08-04 16:18:47 -04:00
Kconfig env: mmc: add CONFIG_ENV_MMC_USE_DT 2023-01-10 12:37:09 -05:00
Makefile env: Rework ENV_IS_EMBEDDED and related logic slightly 2022-12-22 10:31:47 -05:00
mmc.c env: mmc: add CONFIG_ENV_MMC_USE_DT 2023-01-10 12:37:09 -05:00
nand.c Convert CONFIG_ENV_RANGE to Kconfig 2022-06-28 17:11:48 -04:00
nowhere.c env: nowhere: Cosmetic fix 2021-10-31 12:26:44 -06:00
nvram.c env: nvram: Drop CONFIG_SYS_NVRAM_ACCESS_ROUTINE 2022-12-22 10:31:48 -05:00
onenand.c mtd: Remove mtd_erase_callback() entirely 2021-10-23 15:47:33 +05:30
remote.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sata.c env: Discern environment coming from external storage 2020-07-31 10:13:00 -04:00
sf.c Audit <flash.h> inclusion 2022-08-04 16:18:47 -04:00
ubi.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00