esp-idf/components/bootloader_support/include_priv
Ivan Grokhotkov 205c484c49 bootloader: account for load address when mapping cache pages
Bootloader used to calculate the number of cache pages assuming that
load address was aligned, while in reality load address for DROM and
IROM was offset by 0x20 bytes from the start of 64kB page. This
caused the bootloader to map one less page if the size of the image
was 0x4..0x1c less than a multiple of 64kB.

Reported in https://esp32.com/viewtopic.php?f=13&t=6952.
2019-01-23 17:06:11 +08:00
..
bootloader_config.h bootloader: Refactoring 2018-04-17 16:36:49 +05:00
bootloader_flash.h bootloader: account for load address when mapping cache pages 2019-01-23 17:06:11 +08:00
bootloader_init.h bootloader: Refactoring 2018-04-17 16:36:49 +05:00
bootloader_random.h bootloader: Enable early boot RNG entropy source 2017-01-04 17:07:12 +11:00
bootloader_sha.h bootloader: Calculate SHA256 hash of image on every boot 2017-07-19 18:31:59 +10:00
bootloader_utility.h partition_table: Expanding the space under the bootloader 2018-06-08 18:47:29 +05:00
flash_qio_mode.h feature(psram): configure flash and psram speed during runtime 2018-04-20 20:51:44 +08:00