| /rk3399_rockchip-uboot/common/ |
| H A D | android_ab.c | 44 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 D | android_bootloader.c | 391 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 D | android_bootloader_message.h | 107 char slot_suffix[32]; member 150 char slot_suffix[4]; member 172 sizeof(((struct android_bootloader_message_ab *)0)->slot_suffix),
|
| H A D | android_bootloader.h | 60 char *android_assemble_cmdline(const char *slot_suffix, 86 char *android_str_append(char *base_name, char *slot_suffix);
|
| H A D | android_ab.h | 51 int ab_get_slot_suffix(char *slot_suffix);
|
| H A D | boot_rkimg.h | 38 char slot_suffix[32]; member
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | bootfit.c | 98 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 D | tftp_update.c | 430 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 D | spl_ab.c | 282 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 D | avb_ops_user.h | 75 const char *slot_suffix; member
|
| /rk3399_rockchip-uboot/lib/avb/rk_avb_user/ |
| H A D | rk_ab_ops_user.c | 484 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 D | rk_avb_ops_user.c | 572 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 D | spl.c | 546 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);
|