Boot: add non-swapping functionality to MCUBoot

This patch introduces the non-swapping functionality:
  - Default behavior is still the swapping
  - MCUBOOT_NO_SWAP compiler switch is used to adding support
    to run image directly from either flash partition
  - MCUBoot decides based on version number in image header
    which image to start
  - Firmware must be built in two instance to have an XIP
    image for either flash partition
  - New firmware image must be loaded to the current
    inactive flash partition

Change-Id: Icd2bc419490302cf550aabdf5a263ed0d0958f16
Signed-off-by: Tamas Ban <tamas.ban@arm.com>
1 file changed