2.2.3.3 BL_CopyImageAreas()

bl_result_t BL_CopyImageAreas (uint8_t srcImageId, uint8_t destImageId)

Performs a direct internal memory copy of one image space to another.

Parameters:
in srcImageId

- Image ID that identifies the source image space

in destImageId

- Image ID that identifies where the source image space will be copied to

Returns:

BL_PASS - Image copy operation finished successfully

BL_FAIL - Image copy operation failed unexpectedly

BL_ERROR_INVALID_ARGUMENTS - Invalid image ID was used as an argument

BL_ERROR_COMMAND_PROCESSING - Copy operation failed at the memory layer