Home
last modified time | relevance | path

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

/hardware/interfaces/boot/1.1/default/boot_control/
Dlibboot_control.cpp47 constexpr const char* kSlotSuffixes[kMaxNumSlots] = { "_a", "_b", "_c", "_d" }; variable
120 strlcpy(boot_ctrl->slot_suffix, kSlotSuffixes[current_slot], sizeof(boot_ctrl->slot_suffix)); in InitDefaultBootloaderControl()
137 std::string partition_path = base_path + kSlotSuffixes[slot]; in InitDefaultBootloaderControl()
142 LOG(INFO) << "Found slot: " << kSlotSuffixes[slot]; in InitDefaultBootloaderControl()
187 if (!strcmp(kSlotSuffixes[slot], suffix)) return slot; in SlotSuffixToIndex()
358 return kSlotSuffixes[slot]; in GetSuffix()
/hardware/ti/am57x/bootctrl/
Dboot_control.cc49 constexpr const char* kSlotSuffixes[kMaxNumSlots] = { "_a", "_b", "_c", "_d" }; variable
85 if (!strcmp(kSlotSuffixes[slot], suffix)) return slot; in SlotSuffixToIndex()
317 return kSlotSuffixes[slot]; in GetSuffix()