summaryrefslogtreecommitdiffstats
path: root/boot_control/include/libboot_control/libboot_control.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move libboot_control to boot_control 1.1Tianjie Xu2020-02-261-89/+0
| | | | | | | | | | | It should belong to the default /misc implementation of boot control 1.1. Right now, it's only used by cuttlefish. So move it over to reduce confusion in bootloader_message. Bug: 131775112 Test: build Change-Id: If09bc6f4cc8adf74c8798048c8e54ec94566abaa (cherry picked from commit dc4d2a70db40a302cb7001ddbc41816e7187d5c5)
* bootloader_message: Add helpers for handling IBootControl MergeStatus.David Anderson2019-11-091-0/+23
| | | | | | | | | | | | | | | | Move merge_status from bootloader_control_ab, which is in vendor space, to a new generic AOSP struct in system space. This will allow more devices to share the same HAL implementation. This patch also changes libboot_control to compensate for merge_status moving out of vendor space. The reference HAL library now also provides separate helper functions for managing the merge status, so devices using a custom boot control HAL can still take advantage of the new misc implementation. Bug: 139156011 Test: manual test Change-Id: I5cd824e25f9d07aad1476301def5cdc3f506b029
* Add IBootControl 1.1 support to libboot_control.David Anderson2019-09-051-0/+8
| | | | | | Bug: 138861550 Test: vts Change-Id: Id4a2963d6ab657d8ab076b7013492a691462b287
* Refactor boot_control into a separate library.David Anderson2019-08-301-0/+58
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