summaryrefslogtreecommitdiff
path: root/boot_control.cpp
AgeCommit message (Collapse)Author
2019-01-29Fix build errors.Divya Sharma
- boot_control: Removes unused variable. Change-Id: Ib8b5f5bed54dcba8bd24eeb79927fffd422c0b4d
2017-05-11boot_control: Do not swap guid's for the xbl_config partitionAmeya Thakur
Selection of the appropriate a/b version of xbl_config is handled by the bootloader based on the active LUN being booted from. We do not need to swap GUID's for this partition. We also now correctly return a error when setting the active slot on one of the LUN's fails. Change-Id: Idad9d0aa3b3e2e1bd29c90414b06898e967abb8a
2016-06-28bootcontrol: Reduce the number of writes in the set active slot functionAmeya Thakur
We now write the 'gpt_disk' structure back to storage only once per each physical disk. Also did a minor cleanup of the code. Change-Id: Id4fd887fe2978f9cd17447e9a1b715f0a8df5073