Skip to content
Commit 5b4acb0f authored by Marek Vasut's avatar Marek Vasut Committed by Tom Rini
Browse files

env: mmc: Apply GPT only on eMMC user HW partition



Apply the GPT U-Boot environment GUID type look up only on eMMC user
HW partition, do not apply the look up on eMMC boot HW partitions as
mmc_offset_try_partition() assumes either SD partitions or eMMC user
HW partition.

This fixes environment operation on systems where CONFIG_SYS_MMC_ENV_PART
is non-zero and CONFIG_SYS_REDUNDAND_ENVIRONMENT is set.

Fixes: 80105d8f ("env: mmc: select GPT env partition by type guid")
Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent c1d266a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment