]> granicus.if.org Git - esp-idf/commitdiff
esp_image_format: ESP32 additional header does not contain an encrypt flag
authorAngus Gratton <angus@espressif.com>
Tue, 27 Jun 2017 07:25:44 +0000 (17:25 +1000)
committerAngus Gratton <gus@projectgus.com>
Wed, 19 Jul 2017 08:25:17 +0000 (18:25 +1000)
components/bootloader_support/include/esp_image_format.h

index 2e49252aa5e62502af33013a5b813c0020a7ed7d..0334e5e40ad9bd8b9571ef002f0ec9b8eadcd241 100644 (file)
@@ -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 */