summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorRuslan Trofymenko <ruslan.trofymenko@linaro.org>2019-07-05 15:37:32 +0300
committerTom Rini <trini@konsulko.com>2019-07-24 13:16:29 -0400
commitd65e8da92ee7d594226aeee04eb0bef5d60f8bda (patch)
treea7899ca444e95aa08980a6ccc01dd676ef7dd43a /common/Makefile
parent6eccd1f740601f39796bace54c40cd785408e74e (diff)
downloadu-boot-d65e8da92ee7d594226aeee04eb0bef5d60f8bda.tar.gz
u-boot-d65e8da92ee7d594226aeee04eb0bef5d60f8bda.tar.bz2
u-boot-d65e8da92ee7d594226aeee04eb0bef5d60f8bda.zip
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: 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>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index c7e41ef307..302d8beaf3 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -107,6 +107,7 @@ endif
endif
obj-y += image.o
+obj-$(CONFIG_ANDROID_AB) += android_ab.o
obj-$(CONFIG_ANDROID_BOOT_IMAGE) += image-android.o
obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += image-fdt.o
obj-$(CONFIG_$(SPL_TPL_)FIT) += image-fit.o