Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a748d0a1 authored by Siddharth Gupta's avatar Siddharth Gupta Committed by Nick Reuter
Browse files

soc: qcom: mdt_loader: Handle split bins correctly



It may be that the offset of the first program header lies inside the mdt's
filesize, in this case the loader would incorrectly assume that the bins
were not split. The loading would then continue on to fail for split bins.
This change updates the logic used by the mdt loader to understand whether
the firmware images are split or not. It figures this out by checking if
each programs header's segment lies within the file or not.

Change-Id: I18ce4922eadceb96193584d829829878048ea045
Signed-off-by: default avatarSiddharth Gupta <sidgup@codeaurora.org>
parent 94ab28d6
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