summaryrefslogtreecommitdiff
path: root/drivers/ddr/microchip/ddr2_timing.h
diff options
context:
space:
mode:
authorSughosh Ganu <sughosh.ganu@linaro.org>2024-09-09 16:50:16 +0530
committerIlias Apalodimas <ilias.apalodimas@linaro.org>2024-09-19 10:52:50 +0300
commit5e9feeed8afa7ed4e26766bb15af3d2b04117f4a (patch)
treee48aea2dd5c37acf43a4f64c329efe41418e2ca9 /drivers/ddr/microchip/ddr2_timing.h
parent650883a568653f37ee4ff43beda56152b594a49c (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 <sughosh.ganu@linaro.org> Tested-by: Michal Simek <michal.simek@amd.com> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'drivers/ddr/microchip/ddr2_timing.h')
0 files changed, 0 insertions, 0 deletions