arm-trusted-firmware/bl1
Soby Mathew ee05ae1680 Fix issues in FWU code
This patch fixes the following issues in Firmware Update (FWU) code:

1. The FWU layer maintains a list of loaded image ids and
   while checking for image overlaps, INVALID_IMAGE_IDs were not
   skipped. The patch now adds code to skip INVALID_IMAGE_IDs.

2. While resetting the state corresponding to an image, the code
   now resets the memory used by the image only if the image were
   copied previously via IMAGE_COPY smc. This prevents the invalid
   zeroing of image memory which are not copied but are directly
   authenticated via IMAGE_AUTH smc.

Change-Id: Idf18e69bcba7259411c88807bd0347d59d9afb8f
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
2017-06-21 17:46:28 +01:00
..
aarch32 AArch32: Add `TRUSTED_BOARD_BOOT` support 2017-05-15 16:34:27 +01:00
aarch64 Merge pull request #927 from jeenu-arm/state-switch 2017-05-11 16:04:52 +01:00
tbbr Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
bl1.ld.S Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
bl1.mk Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
bl1_fwu.c Fix issues in FWU code 2017-06-21 17:46:28 +01:00
bl1_main.c AArch32: Add `TRUSTED_BOARD_BOOT` support 2017-05-15 16:34:27 +01:00
bl1_private.h Use SPDX license identifiers 2017-05-03 09:39:28 +01:00