diff options
author | Caleb Connolly <caleb.connolly@linaro.org> | 2025-04-11 17:03:34 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-06-24 07:54:51 -0600 |
commit | 35cdb4676e90583c334682380549acaa8fbff2a3 (patch) | |
tree | 43958db8deb4f44110b9191f1409d10d59cef1c5 /lib/linux_string.c | |
parent | 32f0291900a584858de1fd8ff9756f6a454a6f0d (diff) |
mach-snapdragon: track boot source
Keep track of whether we were loaded via ABL or if U-Boot is running as
a first-stage bootloader.
For now we set this based on if we have a valid external FDT or not,
since it isn't possible to chainload U-Boot from ABL without there being
an external FDT.
This will be used to inform the capsule update logic which partition
U-Boot is flashed to.
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Link: https://lore.kernel.org/r/20250411-b4-qcom-capsule-update-improvements-v2-1-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