Searched refs:FLASH_AREA_IMAGE_PRIMARY (Results 1 – 6 of 6) sorted by relevance
27 #define FLASH_AREA_IMAGE_PRIMARY(x) (((x) == 0) ? FLASH_AREA_0_ID : \ macro36 #define FLASH_AREA_IMAGE_PRIMARY(x) (((x) == 0) ? FLASH_AREA_0_ID : \
43 case 0: return FLASH_AREA_IMAGE_PRIMARY(image_index); in flash_area_id_from_multi_image_slot()58 if (area_id == FLASH_AREA_IMAGE_PRIMARY(image_index)) { in flash_area_id_to_multi_image_slot()
122 #define FLASH_AREA_IMAGE_PRIMARY(x) (((x) == 0) ? FLASH_AREA_2_ID : \ macro
217 #define FLASH_AREA_IMAGE_PRIMARY(x) (((x) == 0) ? FLASH_AREA_0_ID : \ macro
196 if (flash_area_open(FLASH_AREA_IMAGE_PRIMARY(i), &temp_fap) == 0 && in boot_save_shared_data()
603 if ((flash_area_open(FLASH_AREA_IMAGE_PRIMARY(component), in fwu_bootloader_get_image_info()