Enable A/B

As boot_control HAL is now implemented for AM57x, we can enable A/B
updates. Slotted partitions are specified in AB_OTA_PARTITIONS.
Related changes should be implemented in bootloader (partition table).
See [0] for implementation details.

Next changes are made w.r.t. boot flow:
 - system is mounted as root, so "skip_initramfs" must be added to
   kernel cmdline when normal boot is requested
 - recovery image is not built, so recovery partition can be deleted
   (in partition table and in fstab)
 - ramdisk in boot.img contains recovery functionality and should be
   booted when recovery boot is requested (without "skip_initramfs"
   parameter in kernel cmdline)
 - for partitions specified in AB_OTA_PARTITIONS there should be two
   versions in partition table: with "_a" and "_b" suffixes

[0] https://source.android.com/devices/tech/ota/ab/ab_implement

Change-Id: I265c8b79c1772c57172b0a5f0094d21d5e4fa86b
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
4 files changed