summaryrefslogtreecommitdiff
path: root/disk/Kconfig
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2022-11-10 11:49:03 +0100
committerTom Rini <trini@konsulko.com>2023-01-10 12:37:09 -0500
commit80105d8fd525406a8792db2cb4f1b2002349cfb7 (patch)
treea946cd12b56663c438e5f1f80c3e42d43a9b1e30 /disk/Kconfig
parent0902bcdbb38a0341be47a03c74e3d75bfbf6f296 (diff)
env: mmc: select GPT env partition by type guid
Since commit c0364ce1c695 ("doc/README.gpt: define partition type GUID for U-Boot environment"), a specific type GUID can be used to indicate the U-Boot environment partition on the device with GPT partition table. This patch uses this type GUID to found the env partition as fallback when the partition name property "u-boot,mmc-env-partition" is not present in config node or if the indicated partition name is not found. The mmc_offset_try_partition() function is reused, it selects the first partition with the correct type GUID when the parameter 'str' is NULL. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'disk/Kconfig')
0 files changed, 0 insertions, 0 deletions