summaryrefslogtreecommitdiffstats
path: root/boot_control/boot_control.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor boot_control into a separate library.David Anderson2019-08-301-401/+0
| | | | | | | | | | | This extracts the implementation of boot_control into a new library, libboot_control. The bootctrl.default module now wraps this library. This refactoring will allow us to re-use the same implementation in HIDL. Bug: 138861550 Test: mm bootctrl.default Change-Id: Ic0558da3c2d8e6f5ebec63a497825c24b51623b7
* Boot control HAL based on the A/B headers.Alex Deymo2017-04-031-0/+401
The added bootctrl.bcb module implement the legacy interface for the bootctrl HAL based on the Boot Control Block (BCB) and the headers already specified in the booloader_message library. This serves as a reference implementation of the boot_control HAL. Bug: 32707546 Test: Tested internally that a device can use this HAL to flip slots and recovery from a /misc wipe. Change-Id: Ic02e5aaf4de7d0a1780eac4e8705dae20d0b3e10