Home
last modified time | relevance | path

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

/hardware/ti/am57x/bootctrl/
Dboot_control.cc46 sizeof(bootloader_control::slot_info) /
47 sizeof(bootloader_control::slot_info[0]);
188 return (bootctrl.slot_info[slot].successful_boot && in IsSlotMarkedSuccessful()
189 bootctrl.slot_info[slot].tries_remaining); in IsSlotMarkedSuccessful()
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()
237 if (bootctrl.slot_info[i].priority >= kActivePriority) in SetActiveBootSlot()
238 bootctrl.slot_info[i].priority = kActivePriority - 1; in SetActiveBootSlot()
244 bootctrl.slot_info[slot].priority = kActivePriority; in SetActiveBootSlot()
245 bootctrl.slot_info[slot].tries_remaining = kActiveTries; in SetActiveBootSlot()
[all …]
Dbootloader_message.h168 struct slot_metadata slot_info[4]; member
/hardware/interfaces/boot/1.1/default/boot_control/
Dlibboot_control.cpp46 sizeof(bootloader_control::slot_info) / sizeof(bootloader_control::slot_info[0]);
177 boot_ctrl->slot_info[slot] = entry; in InitDefaultBootloaderControl()
256 bootctrl.slot_info[current_slot_].successful_boot = 1; in MarkBootSuccessful()
260 bootctrl.slot_info[current_slot_].tries_remaining = 1; in MarkBootSuccessful()
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()
286 bootctrl.slot_info[slot].tries_remaining = kActiveTries; in SetActiveBootSlot()
293 if (slot != current_slot_) bootctrl.slot_info[slot].verity_corrupted = 0; in SetActiveBootSlot()
309 bootctrl.slot_info[slot].successful_boot = 0; in SetSlotAsUnbootable()
[all …]
/hardware/interfaces/boot/1.1/default/boot_control/include/private/
Dboot_control_definition.h98 struct slot_metadata slot_info[4]; member