Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/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.c392 char *android_assemble_cmdline(const char *slot_suffix, in android_assemble_cmdline() argument
411 if (slot_suffix) { in android_assemble_cmdline()
413 strlen(slot_suffix) + 1); in android_assemble_cmdline()
415 + strlen(slot_suffix) + 1); in android_assemble_cmdline()
417 strcat(allocated_suffix, slot_suffix); in android_assemble_cmdline()
482 const char *slot_suffix) in get_partition_size() argument
484 char *partition_name = join_str(name, slot_suffix); in get_partition_size()
504 AvbOps *ops, char *slot_suffix) in avb_image_distribute_prepare() argument
513 boot_size = max(get_partition_size(ops, ANDROID_PARTITION_BOOT, slot_suffix), in avb_image_distribute_prepare()
514 get_partition_size(ops, ANDROID_PARTITION_RECOVERY, slot_suffix)); in avb_image_distribute_prepare()
[all …]
/OK3568_Linux_fs/u-boot/common/spl/
H A Dspl_ab.c258 char slot_suffix[3] = {0}; in spl_ab_append_part_slot() local
265 if (spl_get_current_slot(dev_desc, "misc", slot_suffix)) { in spl_ab_append_part_slot()
272 strcat(new_name, slot_suffix); in spl_ab_append_part_slot()
292 char slot_suffix[3] = {0}; in spl_ab_decrease_tries() local
295 ret = spl_get_current_slot(dev_desc, "misc", slot_suffix); in spl_ab_decrease_tries()
299 if (!strncmp(slot_suffix, "_a", 2)) in spl_ab_decrease_tries()
301 else if (!strncmp(slot_suffix, "_b", 2)) in spl_ab_decrease_tries()
H A Dspl_fit.c544 char slot_suffix[3] = {0}; in spl_load_kernel_fit() local
546 if (!spl_get_current_slot(info->dev, "misc", slot_suffix)) in spl_load_kernel_fit()
547 fdt_bootargs_append_ab((void *)image_info.load_addr, slot_suffix); in spl_load_kernel_fit()
/OK3568_Linux_fs/u-boot/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
/OK3568_Linux_fs/u-boot/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.c452 char *slot_suffix; in update_ignore_image() local
455 slot_suffix = (char *)e->part_name + strlen(e->part_name) - 2; in update_ignore_image()
456 if (!strcmp(hdr->current_slot, slot_suffix)) in update_ignore_image()
/OK3568_Linux_fs/u-boot/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()
/OK3568_Linux_fs/u-boot/include/android_avb/
H A Davb_ops_user.h75 const char *slot_suffix; member