mcuboot/boot/zephyr/include
Fabio Utzig b0f0473352 Remove current_image global and macro updates
Currently to determine which image is being operated on, there is a global
variable called current_image which is used by most macros and APIs to
correctly access the flash areas required by the bootloader. This moves
this variable to the already existing state struct and refactors all
macros and APIs to receive the current image by parameters. To maintain
compatibility some of the macros were not updated and use image 0 when
called.

The definitions of FLASH_AREA_IMAGE_PRIMARY and FLASH_AREA_IMAGE_SECONDARY
for Mynewt compatibility were moved out of bootutil sources to a Mynewt
specific include file.

Signed-off-by: Fabio Utzig <utzig@apache.org>
2019-08-07 14:33:36 -03:00
..
flash_map_backend Remove current_image global and macro updates 2019-08-07 14:33:36 -03:00
hal zephyr: Move code under 'boot' directory 2017-01-10 09:49:47 -07:00
mcuboot_config Boot: Extend flash layout for multiple images 2019-07-23 09:11:34 -05:00
os zephyr: Move code under 'boot' directory 2017-01-10 09:49:47 -07:00
serial_adapter Add serial adapter module for support serial communication for zephyr 2017-12-06 16:11:10 -07:00
sysflash Remove current_image global and macro updates 2019-08-07 14:33:36 -03:00
config-asn1.h Fix ECDSA Zephyr configuration of mbed TLS 2017-11-14 19:12:53 -07:00
config-ed25519.h Add Zephyr infrastructure for ed25519 2019-06-13 19:21:05 -03:00
config-kw.h zephyr: Fix bug where prototype of SNPRINTF was not declared 2019-03-04 09:20:14 -03:00
config-rsa-kw.h zephyr: Fix bug where prototype of SNPRINTF was not declared 2019-03-04 09:20:14 -03:00
config-rsa.h Add Zephyr config for RSA-3072 2019-05-16 14:01:19 -03:00
mcuboot-mbedtls-cfg.h Add Zephyr infrastructure for ed25519 2019-06-13 19:21:05 -03:00
target.h Boot: Extend flash layout for multiple images 2019-07-23 09:11:34 -05:00