hikey960: Enable Virt-A/B on HiKey960
Following again in Amit's footsteps, this implements virtual A/B
in the same fashion as Amit's patch for db845c:
https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1547736
As the bootloader doesn't support the slot_suffix, we fix it to
_a statically in the boot args.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I80079d8eeb2635fece1f0f5f24eeaeff3a1c53db
diff --git a/fstab.ramdisk960 b/fstab.ramdisk960
index 6192881..098386d 100644
--- a/fstab.ramdisk960
+++ b/fstab.ramdisk960
@@ -1,4 +1,4 @@
-system /system ext4 noatime,ro,errors=panic wait,logical,first_stage_mount
-vendor /vendor ext4 noatime,ro,errors=panic wait,logical,first_stage_mount
-system_ext /system_ext ext4 noatime,ro,errors=panic wait,logical,first_stage_mount
-product /product ext4 noatime,ro,errors=panic wait,logical,first_stage_mount
+system /system ext4 noatime,ro,errors=panic wait,logical,first_stage_mount,slotselect
+vendor /vendor ext4 noatime,ro,errors=panic wait,logical,first_stage_mount,slotselect
+system_ext /system_ext ext4 noatime,ro,errors=panic wait,logical,first_stage_mount,slotselect
+product /product ext4 noatime,ro,errors=panic wait,logical,first_stage_mount,slotselect