aboutsummaryrefslogtreecommitdiff
path: root/cmd/Makefile
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2017-03-24 23:05:29 -0700
committerAlistair Strachan <astrachan@google.com>2018-08-10 19:54:55 -0700
commite322bcb9ab1d8c09196359eafe5021b4dae1cc19 (patch)
treed542098f3ca0079fd489346ba21d1e31b0c017d8 /cmd/Makefile
parent0ec64604e347544b09428ef7badd6ed3554a40a6 (diff)
downloadu-boot-e322bcb9ab1d8c09196359eafe5021b4dae1cc19.tar.gz
android: Implement A/B slot select.
The android_bootloader_control struct defined in bootloader_message.h stored the A/B metadata used to decide which slot should we use to boot the device. This patch implements the bootloader side of the slot selection in a new "android_ab_select" command which decides the current slot and updates the metadata as needed. Bug: 32707546 Test: Booted a rpi3, updated to the other slot. Change-Id: I9344ff5b76194160d2b466a50e84f4f423b1a98a
Diffstat (limited to 'cmd/Makefile')
-rw-r--r--cmd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/Makefile b/cmd/Makefile
index 95508385f6..abcfc64686 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -12,6 +12,7 @@ obj-y += version.o
# command
obj-$(CONFIG_CMD_AES) += aes.o
+obj-$(CONFIG_CMD_ANDROID_AB_SELECT) += android_ab_select.o android_cmds.o
obj-$(CONFIG_CMD_ADC) += adc.o
obj-$(CONFIG_CMD_ARMFLASH) += armflash.o
obj-y += blk_common.o
@@ -77,6 +78,7 @@ obj-$(CONFIG_LED_STATUS_CMD) += legacy_led.o
obj-$(CONFIG_CMD_LED) += led.o
obj-$(CONFIG_CMD_LICENSE) += license.o
obj-y += load.o
+obj-$(CONFIG_CMD_LOAD_ANDROID) += load_android.o android_cmds.o
obj-$(CONFIG_CMD_LOG) += log.o
obj-$(CONFIG_ID_EEPROM) += mac.o
obj-$(CONFIG_CMD_MD5SUM) += md5sum.o