Home
last modified time | relevance | path

Searched refs:slot_suffix (Results 1 – 13 of 13) sorted by relevance

/rk3399_rockchip-uboot/common/
H A Dandroid_ab.c44 memcpy(abc->slot_suffix, "a\0\0\0", 4); in android_boot_control_default()
74 slot_suffix); in android_boot_control_create_from_disk()
120 slot_suffix) / part_info->blksz; in android_boot_control_store()
162 char slot_suffix[4]; in android_ab_select() local
252 memset(slot_suffix, 0, sizeof(slot_suffix)); in android_ab_select()
253 slot_suffix[0] = ANDROID_BOOT_SLOT_NAME(slot); in android_ab_select()
254 if (memcmp(abc->slot_suffix, slot_suffix, in android_ab_select()
255 sizeof(slot_suffix))) { in android_ab_select()
256 memcpy(abc->slot_suffix, slot_suffix, in android_ab_select()
257 sizeof(slot_suffix)); in android_ab_select()
[all …]
H A Dandroid_bootloader.c391 char *android_assemble_cmdline(const char *slot_suffix, in android_assemble_cmdline() argument
410 if (slot_suffix) { in android_assemble_cmdline()
412 strlen(slot_suffix) + 1); in android_assemble_cmdline()
414 + strlen(slot_suffix) + 1); in android_assemble_cmdline()
416 strcat(allocated_suffix, slot_suffix); in android_assemble_cmdline()
481 const char *slot_suffix) in get_partition_size() argument
483 char *partition_name = join_str(name, slot_suffix); in get_partition_size()
503 AvbOps *ops, char *slot_suffix) in avb_image_distribute_prepare() argument
512 boot_size = max(get_partition_size(ops, ANDROID_PARTITION_BOOT, slot_suffix), in avb_image_distribute_prepare()
513 get_partition_size(ops, ANDROID_PARTITION_RECOVERY, slot_suffix)); in avb_image_distribute_prepare()
[all …]
/rk3399_rockchip-uboot/include/
H A Dandroid_bootloader_message.h107 char slot_suffix[32]; member
150 char slot_suffix[4]; member
172 sizeof(((struct android_bootloader_message_ab *)0)->slot_suffix),
H A Dandroid_bootloader.h60 char *android_assemble_cmdline(const char *slot_suffix,
86 char *android_str_append(char *base_name, char *slot_suffix);
H A Dandroid_ab.h51 int ab_get_slot_suffix(char *slot_suffix);
H A Dboot_rkimg.h38 char slot_suffix[32]; member
/rk3399_rockchip-uboot/cmd/
H A Dbootfit.c98 char slot_suffix[3] = {0}; in do_boot_fit() local
101 if (ab_get_slot_suffix(slot_suffix)) in do_boot_fit()
104 strcat(slot_info, slot_suffix); in do_boot_fit()
H A Dtftp_update.c430 char *slot_suffix; in update_ignore_image() local
433 slot_suffix = (char *)e->part_name + strlen(e->part_name) - 2; in update_ignore_image()
434 if (!strcmp(hdr->current_slot, slot_suffix)) in update_ignore_image()
/rk3399_rockchip-uboot/common/spl/
H A Dspl_ab.c282 char slot_suffix[3] = {0}; in spl_ab_append_part_slot() local
289 if (spl_get_current_slot(dev_desc, "misc", slot_suffix)) { in spl_ab_append_part_slot()
296 strcat(new_name, slot_suffix); in spl_ab_append_part_slot()
345 char slot_suffix[3] = {0}; in spl_ab_decrease_tries() local
348 ret = spl_get_current_slot(dev_desc, "misc", slot_suffix); in spl_ab_decrease_tries()
352 if (!strncmp(slot_suffix, "_a", 2)) in spl_ab_decrease_tries()
354 else if (!strncmp(slot_suffix, "_b", 2)) in spl_ab_decrease_tries()
/rk3399_rockchip-uboot/include/android_avb/
H A Davb_ops_user.h75 const char *slot_suffix; member
/rk3399_rockchip-uboot/lib/avb/rk_avb_user/
H A Drk_ab_ops_user.c484 char slot_suffix[3] = {0}; in rk_avb_append_part_slot() local
491 if (rk_avb_get_current_slot(slot_suffix)) { in rk_avb_append_part_slot()
497 strcat(new_name, slot_suffix); in rk_avb_append_part_slot()
H A Drk_avb_ops_user.c572 const char *slot_suffix = "_a"; in rk_avb_get_part_has_slot_info() local
586 part_name_len += strlen(slot_suffix); in rk_avb_get_part_has_slot_info()
594 snprintf(part_name, part_name_len, "%s%s", base_name, slot_suffix); in rk_avb_get_part_has_slot_info()
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/
H A Dspl.c546 char slot_suffix[3] = {0}; local
548 if (!spl_get_current_slot(desc, "misc", slot_suffix))
549 spl_ab_bootargs_append_slot(fdt, slot_suffix);