bl1_fwu_image_copy() refactoring
authorSandrine Bailleux <sandrine.bailleux@arm.com>
Mon, 14 Nov 2016 14:56:51 +0000 (14:56 +0000)
committerDan Handley <dan.handley@arm.com>
Tue, 20 Dec 2016 11:43:10 +0000 (11:43 +0000)
commitb38a9e5cd765fa1c7e99f20a8236c3594f2f0562
tree7be3ac7bfa6cca6043f8bb7c10b9b09871553263
parent9f1489e445321edcbf17c4098a474180c504c13d
bl1_fwu_image_copy() refactoring

This patch refactors the code of the function handling a FWU_AUTH_COPY
SMC in BL1. All input validation has been moved upfront so it is now
shared between the RESET and COPYING states.

Change-Id: I6a86576b9ce3243c401c2474fe06f06687a70e2f
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
Signed-off-by: Dan Handley <dan.handley@arm.com>
bl1/bl1_fwu.c