app: aboot: Always enable fastbootd commands
Even if we don't natively support dynamic partitions we want these
commands and variables to be available, in case the recovery supports
fastbootd.
Issue: FP3-A11#146
Test: fastboot reboot-fastboot
Change-Id: I6438b84a8b7f5198144f668e87d0666a633b4f5d
diff --git a/app/aboot/recovery.c b/app/aboot/recovery.c
index fd6c281..9dfb865 100644
--- a/app/aboot/recovery.c
+++ b/app/aboot/recovery.c
@@ -267,8 +267,7 @@
return 0;
}
- if (target_dynamic_partition_supported() &&
- !strcmp(RECOVERY_BOOT_FASTBOOT_CMD, msg.command)) {
+ if (!strcmp(RECOVERY_BOOT_FASTBOOT_CMD, msg.command)) {
boot_into_recovery = 1; // Boot in userspace fastboot mode
return 0;
}
@@ -426,8 +425,7 @@
boot_into_recovery = 1;
}
- if (target_dynamic_partition_supported() &&
- !strcmp(msg->command, RECOVERY_BOOT_FASTBOOT_CMD)) {
+ if (!strcmp(msg->command, RECOVERY_BOOT_FASTBOOT_CMD)) {
boot_into_recovery = 1;
}