Home
last modified time | relevance | path

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

/device/google/dragon/recovery/updater/
Dupdate_fw.cpp116 char cur_part) in update_rw_fw() argument
120 const char *rw_name = cur_part == 'B' ? "RW_SECTION_A" : "RW_SECTION_B"; in update_rw_fw()
121 int try_next = cur_part == 'B' ? 0 : 1; in update_rw_fw()
175 char cur_part = vboot_get_mainfw_act(); in update_fw() local
181 ALOGD("Running firmware: %s / partition %c\n", version, cur_part); in update_fw()
212 if (cur_part == 'R') /* Recovery mode */ in update_fw()
215 res = update_rw_fw(spi, img, cur_part); in update_fw()
Dfwtool.cpp188 char cur_part = vboot_get_mainfw_act(); in sync_slots() local
191 if (cur_part == 'A') in sync_slots()
193 else if (cur_part == 'B') in sync_slots()