diff options
author | Caleb Connolly <caleb.connolly@linaro.org> | 2025-04-11 17:03:35 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-06-24 07:54:51 -0600 |
commit | fe80a5f80095607d32ff7d7c0e205144aa207ef6 (patch) | |
tree | 5f06592400529fbe4a96d8fd8533179986a05d83 /lib/linux_string.c | |
parent | 35cdb4676e90583c334682380549acaa8fbff2a3 (diff) |
mach-snapdragon: CapsuleUpdate: support all boot methods
Expand capsule update support to correctly identify which partition
U-Boot is flashed to (between xbl, uefi, and boot including A/B
variants).
Use qcom_boot_source to determine if we were chainloaded from ABL,
meaning U-Boot is on the boot partition, otherwise we assume uefi if
it's available, finally leaving the xbl partition.
Set a different fw_name based on the target partition to prevent GUID
collisions, since a board may support U-Boot flashed to boot or XBL we
need to differentiate them since the U-Boot binary must be built
differently.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Link: https://lore.kernel.org/r/20250411-b4-qcom-capsule-update-improvements-v2-2-27f6b2fcc4a9@linaro.org
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
Diffstat (limited to 'lib/linux_string.c')
0 files changed, 0 insertions, 0 deletions