Skip to content
Snippets Groups Projects
Commit d65e8da9 authored by Ruslan Trofymenko's avatar Ruslan Trofymenko Committed by Tom Rini
Browse files

common: Implement A/B metadata

This patch determines the A/B-specific bootloader message structure
that is the basis for implementation of recovery and A/B update
functions. A/B metadata is stored in this structure and used to decide
which slot should we use to boot the device. Also some basic functions
for A/B metadata manipulation are implemented (like slot selection).

The patch was extracted from commits [1], [2] with some coding style
fixes.

[1] https://android-review.googlesource.com/c/platform/external/u-boot/+/729878/2
[2] https://android-review.googlesource.com/c/platform/external/u-boot/+/729880/2



Signed-off-by: default avatarRuslan Trofymenko <ruslan.trofymenko@linaro.org>
Signed-off-by: default avatarIgor Opaniuk <igor.opaniuk@gmail.com>
Reviewed-by: default avatarSam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 6eccd1f7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment