From caaa29c676d5f69d87191cb4bba9d4a2a83d9d76 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Tue, 27 Jun 2017 17:25:44 +1000 Subject: [PATCH] esp_image_format: ESP32 additional header does not contain an encrypt flag --- components/bootloader_support/include/esp_image_format.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/bootloader_support/include/esp_image_format.h b/components/bootloader_support/include/esp_image_format.h index 2e49252aa5..0334e5e40a 100644 --- a/components/bootloader_support/include/esp_image_format.h +++ b/components/bootloader_support/include/esp_image_format.h @@ -63,8 +63,7 @@ typedef struct { uint8_t spi_speed: 4; /* flash frequency (esp_image_spi_freq_t as uint8_t) */ uint8_t spi_size: 4; /* flash chip size (esp_image_flash_size_t as uint8_t) */ uint32_t entry_addr; - uint8_t encrypt_flag; /* encrypt flag */ - uint8_t extra_header[15]; /* ESP32 additional header, unused by second bootloader */ + uint8_t extra_header[16]; /* ESP32 additional header, unused by second bootloader */ } esp_image_header_t; /* Header of binary image segment */ -- 2.40.0