diff options
| author | Sughosh Ganu <[email protected]> | 2024-09-09 16:50:16 +0530 |
|---|---|---|
| committer | Ilias Apalodimas <[email protected]> | 2024-09-19 10:52:50 +0300 |
| commit | 5e9feeed8afa7ed4e26766bb15af3d2b04117f4a (patch) | |
| tree | e48aea2dd5c37acf43a4f64c329efe41418e2ca9 /scripts/Kbuild.include | |
| parent | 650883a568653f37ee4ff43beda56152b594a49c (diff) | |
fwu: v2: try reading both copies of metadata
In the version 2 of the FWU metadata, the metadata is broken into two
parts, a top-level structure, which provides information on the total
size of the structure among other things. Try reading the primary
partition first, and if that fails, try reading the secondary
partition. This will help in the scenario where the primary metadata
partition has been corrupted, but the secondary partition is intact.
Signed-off-by: Sughosh Ganu <[email protected]>
Tested-by: Michal Simek <[email protected]>
Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'scripts/Kbuild.include')
0 files changed, 0 insertions, 0 deletions
