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.bp25 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()
265 bootloader_control bootctrl; in GetActiveBootSlot() local
266 if (!LoadBootloaderControl(misc_device_, &bootctrl)) return false; in GetActiveBootSlot()
270 unsigned int max_priority = bootctrl.slot_info[current_slot_].priority; in GetActiveBootSlot()
273 if (bootctrl.slot_info[i].priority > max_priority) { in GetActiveBootSlot()
274 max_priority = bootctrl.slot_info[i].priority; in GetActiveBootSlot()
[all …]
DAndroid.bp59 name: "bootctrl.default",