Home
last modified time | relevance | path

Searched refs:current_slot (Results 1 – 3 of 3) sorted by relevance

/hardware/ti/am57x/bootctrl/
Dboot_control.cc42 unsigned int current_slot; member
118 bootctrl_module->current_slot = SlotSuffixToIndex(suffix_prop); in BootControlInit()
139 bootctrl_module->current_slot) { in BootControlInit()
150 bootctrl_module->current_slot, bootctrl_module->num_slots); in BootControlInit()
170 return bootctrl_module->current_slot; in GetCurrentSlot()
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()
211 bootctrl_module->current_slot); in MarkBootSuccessful()
252 if (slot != bootctrl_module->current_slot) in SetActiveBootSlot()
350 .current_slot = 0
/hardware/interfaces/boot/1.1/default/boot_control/
Dlibboot_control.cpp118 unsigned int current_slot = control->GetCurrentSlot(); in InitDefaultBootloaderControl() local
119 if (current_slot < kMaxNumSlots) { in InitDefaultBootloaderControl()
120 strlcpy(boot_ctrl->slot_suffix, kSlotSuffixes[current_slot], sizeof(boot_ctrl->slot_suffix)); in InitDefaultBootloaderControl()
173 if (current_slot == slot) { in InitDefaultBootloaderControl()
403 bool SetMiscVirtualAbMergeStatus(unsigned int current_slot, in SetMiscVirtualAbMergeStatus() argument
414 message.source_slot = current_slot; in SetMiscVirtualAbMergeStatus()
422 bool GetMiscVirtualAbMergeStatus(unsigned int current_slot, in GetMiscVirtualAbMergeStatus() argument
436 if (*status == MergeStatus::SNAPSHOTTED && current_slot == message.source_slot) { in GetMiscVirtualAbMergeStatus()
/hardware/interfaces/boot/1.1/default/boot_control/include/libboot_control/
Dlibboot_control.h81 bool SetMiscVirtualAbMergeStatus(unsigned int current_slot,
86 bool GetMiscVirtualAbMergeStatus(unsigned int current_slot,