Searched refs:bootctrl (Results 1 – 4 of 4) sorted by relevance
184 bootloader_control bootctrl; in IsSlotMarkedSuccessful() local185 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() local199 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 …]
25 name: "bootctrl.am57x",
253 bootloader_control bootctrl; in MarkBootSuccessful() local254 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() local266 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 …]
59 name: "bootctrl.default",