summaryrefslogtreecommitdiff
path: root/1.1/libboot_control_qti/libboot_control_qti.cpp
AgeCommit message (Collapse)Author
2021-05-27Bootctrl: Supporting bootctrl on HQX.Tabassum Tabassum
1. Updating get_number_slots API, to return 2 on HQX 2. Updating set_active_boot_slot API, write current, target slot, status of target slot info into la_misc partition, which will read by PVM during slot switching and OTA update. Change-Id: If171ac32e30fcaf17b079e1c9f3465ff236dc7c8
2021-05-06Bootctrl: Supporting bootctrl on HQX.Tabassum Tabassum
Updating get_number_slots API, to return 2 slots on HQX. Change-Id: Id5f611bc14a62b1458843a27e233d6972adf775e
2020-01-29Add support for Boot Control Hal 1.1.P.Adarsh Reddy
The 1.1 impl lib is named as "android.hardware.boot@1.0-impl-1.1-qti". This is to serve 1.0 clients with the existing 1.0 getService call. 1.1 AOSP clients get the 1.0 instance and cast it to 1.1, and use 1.1 APIs (on virtual a/b enabled devices). This makes use of the AOSP's libboot_control helper library to call the 1.1 APIs to read/write to misc partition. Change-Id: I65df17f4719949a4d54acdc18c3ef02458063f05