commit | 18d2bcdecfecdfb97cc8d4f83968accc90d292c1 | [log] [tgz] |
---|---|---|
author | Ruslan Trofymenko <ruslan.trofymenko@linaro.org> | Fri Jul 05 15:37:32 2019 +0300 |
committer | Alistair Delva <adelva@google.com> | Tue Jul 09 10:52:03 2019 -0700 |
tree | a97b4bd2c1776e23995ed483f882348de6408ab5 | |
parent | b828018b0197850e435a7def8e7324277f5ed5a2 [diff] |
FROMLIST: 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 Bug: 137034204 Change-Id: I8fc0b2be23522bf7f6d2e892a68070eec1d02ab0 Link: https://patchwork.ozlabs.org/patch/1128010/ Signed-off-by: Ruslan Trofymenko <ruslan.trofymenko@linaro.org> Signed-off-by: Igor Opaniuk <igor.opaniuk@gmail.com> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alistair Delva <adelva@google.com>