Home
last modified time | relevance | path

Searched refs:bootctrl (Results 1 – 4 of 4) sorted by relevance

/hardware/ti/am57x/bootctrl/
Dboot_control.cc184 bootloader_control bootctrl; in IsSlotMarkedSuccessful() local
185 if (!LoadBootloaderControl(bootctrl_module->misc_device, &bootctrl)) in IsSlotMarkedSuccessful()
188 return (bootctrl.slot_info[slot].successful_boot && in IsSlotMarkedSuccessful()
189 bootctrl.slot_info[slot].tries_remaining); in IsSlotMarkedSuccessful()
198 bootloader_control bootctrl; in MarkBootSuccessful() local
199 if (!LoadBootloaderControl(bootctrl_module->misc_device, &bootctrl)) in MarkBootSuccessful()
202 bootctrl.slot_info[bootctrl_module->current_slot].successful_boot = 1; in MarkBootSuccessful()
206 bootctrl.slot_info[bootctrl_module->current_slot].tries_remaining = 1; in MarkBootSuccessful()
207 if (!SaveBootloaderControl(bootctrl_module->misc_device, &bootctrl)) in MarkBootSuccessful()
228 bootloader_control bootctrl; in SetActiveBootSlot() local
[all …]
DAndroid.bp16 name: "bootctrl.am57x",
/hardware/interfaces/boot/1.1/default/boot_control/
Dlibboot_control.cpp253 bootloader_control bootctrl; in MarkBootSuccessful() local
254 if (!LoadBootloaderControl(misc_device_, &bootctrl)) return false; in MarkBootSuccessful()
256 bootctrl.slot_info[current_slot_].successful_boot = 1; in MarkBootSuccessful()
260 bootctrl.slot_info[current_slot_].tries_remaining = 1; in MarkBootSuccessful()
261 return UpdateAndSaveBootloaderControl(misc_device_, &bootctrl); in MarkBootSuccessful()
270 bootloader_control bootctrl; in SetActiveBootSlot() local
271 if (!LoadBootloaderControl(misc_device_, &bootctrl)) return false; in SetActiveBootSlot()
278 if (bootctrl.slot_info[i].priority >= kActivePriority) in SetActiveBootSlot()
279 bootctrl.slot_info[i].priority = kActivePriority - 1; in SetActiveBootSlot()
285 bootctrl.slot_info[slot].priority = kActivePriority; in SetActiveBootSlot()
[all …]
DAndroid.bp50 name: "bootctrl.default",