diff options
author | Tom Rini <trini@konsulko.com> | 2023-01-10 14:49:32 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-10 14:49:32 -0500 |
commit | 92bdaecf39a1c02c49bc940f06f5ac80daf1b2ad (patch) | |
tree | 5e087499b0b6a50acc360431fba7a36b8107ffaa /lib/zstd/common/compiler.h | |
parent | 7b84c973b96775576dcff228d865e8570be26c82 (diff) | |
parent | 6a90e925648e471b516d68ff150c9c198da485aa (diff) |
Merge branch '2023-01-10-env-mmc-improvements-and-corrections'
To quote the author:
Update in U-Boot env mmc backend with several cosmetic changes or
corrections and 2 new features:
1/ CONFIG_ENV_MMC_USE_DT = no more use CONFIG_ENV_OFFSET
in the mmc ENV backend when this config is activated.
Requested by the STM32MP STMicroelectronics boards which activate
several ENV_IS_IN_XXX; the value of CONFIG_ENV_OFFSET is invalid for
SD-Card / eMMC boot; this offset should only used in SPIFlash backend
(sf.c) for SPI-NOR boot.
If this offset is used on mmc backend, when partition name in GPT is
not aligned with U-Boot DT: "u-boot,mmc-env-partition", the behavior
is difficult to debug: a partition is corrupted on 'env save' command.
2/ selects the GPT env partition by the "u-boot-env" type GUID introduced
by the commit c0364ce1c695 ("doc/README.gpt: define partition
type GUID for U-Boot environment")
This feature can also avoid issue when 'u-boot-env' partition name
change in GPT partitioning but not in the U-Boot DT with
"u-boot,mmc-env-partition"
Diffstat (limited to 'lib/zstd/common/compiler.h')
0 files changed, 0 insertions, 0 deletions