Searched refs:esp_ota_select_entry_t (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-latest/components/bootloader_support/include/ |
D | bootloader_common.h | 33 uint32_t bootloader_common_ota_select_crc(const esp_ota_select_entry_t *s); 41 bool bootloader_common_ota_select_valid(const esp_ota_select_entry_t *s); 49 bool bootloader_common_ota_select_invalid(const esp_ota_select_entry_t *s); 139 int bootloader_common_get_active_otadata(esp_ota_select_entry_t *two_otadata); 151 int bootloader_common_select_otadata(const esp_ota_select_entry_t *two_otadata, bool *valid_two_ota…
|
D | esp_flash_partitions.h | 68 } esp_ota_select_entry_t; typedef
|
/hal_espressif-latest/components/bootloader_support/src/ |
D | bootloader_common_loader.c | 34 uint32_t bootloader_common_ota_select_crc(const esp_ota_select_entry_t *s) in bootloader_common_ota_select_crc() 39 bool bootloader_common_ota_select_invalid(const esp_ota_select_entry_t *s) in bootloader_common_ota_select_invalid() 44 bool bootloader_common_ota_select_valid(const esp_ota_select_entry_t *s) in bootloader_common_ota_select_valid() 49 int bootloader_common_get_active_otadata(esp_ota_select_entry_t *two_otadata) in bootloader_common_get_active_otadata() 96 int bootloader_common_select_otadata(const esp_ota_select_entry_t *two_otadata, bool *valid_two_ota… in bootloader_common_select_otadata()
|
D | bootloader_utility.c | 104 static esp_err_t read_otadata(const esp_partition_pos_t *ota_info, esp_ota_select_entry_t *two_otad… in read_otadata() 106 const esp_ota_select_entry_t *ota_select_map; in read_otadata() 124 memcpy(&two_otadata[0], ota_select_map, sizeof(esp_ota_select_entry_t)); in read_otadata() 125 … memcpy(&two_otadata[1], (uint8_t *)ota_select_map + SPI_SEC_SIZE, sizeof(esp_ota_select_entry_t)); in read_otadata() 286 static esp_err_t write_otadata(esp_ota_select_entry_t *otadata, uint32_t offset, bool write_encrypt… in write_otadata() 290 … err = bootloader_flash_write(offset, otadata, sizeof(esp_ota_select_entry_t), write_encrypted); in write_otadata() 328 …e_otadata_with_check_anti_rollback(const bootloader_state_t *bs, esp_ota_select_entry_t *two_otada… in get_active_otadata_with_check_anti_rollback() 357 esp_ota_select_entry_t otadata[2]; 471 esp_ota_select_entry_t otadata;
|