Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/common/spl/
H A Dspl_ab.c209 size_t slot_index_to_boot; in spl_get_current_slot() local
241 slot_index_to_boot = 1; in spl_get_current_slot()
243 slot_index_to_boot = 0; in spl_get_current_slot()
245 slot_index_to_boot = 0; in spl_get_current_slot()
247 slot_index_to_boot = 1; in spl_get_current_slot()
261 if (slot_index_to_boot == 0) in spl_get_current_slot()
263 else if (slot_index_to_boot == 1) in spl_get_current_slot()
266 if (last_slot_index != slot_index_to_boot) { in spl_get_current_slot()
267 last_slot_index = slot_index_to_boot; in spl_get_current_slot()
270 ab_data.slots[slot_index_to_boot].successful_boot, in spl_get_current_slot()
[all …]
/rk3399_rockchip-uboot/lib/avb/rk_avb_user/
H A Drk_ab_ops_user.c320 size_t slot_index_to_boot; in rk_avb_ab_slot_select() local
331 slot_index_to_boot = 1; in rk_avb_ab_slot_select()
333 slot_index_to_boot = 0; in rk_avb_ab_slot_select()
336 slot_index_to_boot = 0; in rk_avb_ab_slot_select()
338 slot_index_to_boot = 1; in rk_avb_ab_slot_select()
345 if (slot_index_to_boot == 0) { in rk_avb_ab_slot_select()
347 } else if(slot_index_to_boot == 1) { in rk_avb_ab_slot_select()
351 if (last_slot_index != slot_index_to_boot) { in rk_avb_ab_slot_select()
352 last_slot_index = slot_index_to_boot; in rk_avb_ab_slot_select()
355 ab_data.slots[slot_index_to_boot].successful_boot, in rk_avb_ab_slot_select()
[all …]
/rk3399_rockchip-uboot/lib/avb/libavb_ab/
H A Davb_ab_flow.c216 size_t slot_index_to_boot, n; in avb_ab_flow() local
303 slot_index_to_boot = 1; in avb_ab_flow()
305 slot_index_to_boot = 0; in avb_ab_flow()
308 slot_index_to_boot = 0; in avb_ab_flow()
310 slot_index_to_boot = 1; in avb_ab_flow()
363 avb_assert(slot_data[slot_index_to_boot] != NULL); in avb_ab_flow()
364 data = slot_data[slot_index_to_boot]; in avb_ab_flow()
365 slot_data[slot_index_to_boot] = NULL; in avb_ab_flow()
374 if (!ab_data.slots[slot_index_to_boot].successful_boot && in avb_ab_flow()
375 ab_data.slots[slot_index_to_boot].tries_remaining > 0) { in avb_ab_flow()
[all …]
/rk3399_rockchip-uboot/common/
H A Dandroid_bootloader.c766 size_t slot_index_to_boot = 0; in android_slot_verify() local
816 slot_index_to_boot = 0; in android_slot_verify()
818 slot_index_to_boot = 1; in android_slot_verify()
820 slot_index_to_boot = 0; in android_slot_verify()
947 slot_set_unbootable(&ab_data.slots[slot_index_to_boot]); in android_slot_verify()