Home
last modified time | relevance | path

Searched refs:kMaxNumSlots (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/boot/1.1/default/boot_control/
Dlibboot_control.cpp45 constexpr unsigned int kMaxNumSlots = variable
47 constexpr const char* kSlotSuffixes[kMaxNumSlots] = { "_a", "_b", "_c", "_d" };
119 if (current_slot < kMaxNumSlots) { in InitDefaultBootloaderControl()
127 boot_ctrl->nb_slot = kMaxNumSlots; in InitDefaultBootloaderControl()
136 for (unsigned int slot = 0; slot < kMaxNumSlots; ++slot) { in InitDefaultBootloaderControl()
152 (first_missing_slot == -1 && last_existing_slot + 1 == kMaxNumSlots)) { in InitDefaultBootloaderControl()
158 for (unsigned int slot = 0; slot < kMaxNumSlots; ++slot) { in InitDefaultBootloaderControl()
186 for (unsigned int slot = 0; slot < kMaxNumSlots; ++slot) { in SlotSuffixToIndex()
283 if (slot >= kMaxNumSlots || slot >= num_slots_) { in SetActiveBootSlot()
317 if (slot >= kMaxNumSlots || slot >= num_slots_) { in SetSlotAsUnbootable()
[all …]
/hardware/ti/am57x/bootctrl/
Dboot_control.cc45 constexpr unsigned int kMaxNumSlots = variable
49 constexpr const char* kSlotSuffixes[kMaxNumSlots] = { "_a", "_b", "_c", "_d" };
84 for (unsigned int slot = 0; slot < kMaxNumSlots; ++slot) { in SlotSuffixToIndex()
179 if (slot >= kMaxNumSlots || slot >= bootctrl_module->num_slots) { in IsSlotMarkedSuccessful()
223 if (slot >= kMaxNumSlots || slot >= bootctrl_module->num_slots) { in SetActiveBootSlot()
270 if (slot >= kMaxNumSlots || slot >= bootctrl_module->num_slots) { in SetSlotAsUnbootable()
297 if (slot >= kMaxNumSlots || slot >= bootctrl_module->num_slots) { in IsSlotBootable()
315 if (slot >= kMaxNumSlots || slot >= bootctrl_module->num_slots) return NULL; in GetSuffix()