Add optional bl1_plat_prepare_exit() API
This patch adds an optional API to the platform port:

    void bl1_plat_prepare_exit(void);

This function is called prior to exiting BL1 in response to the
RUN_IMAGE_SMC request raised by BL2. It should be used to perform
platform specific clean up or bookkeeping operations before
transferring control to the next image.

A weak empty definition of this function has been provided to
preserve platform backwards compatibility.

Change-Id: Iec09697de5c449ae84601403795cdb6aca166ba1
1 parent 1fe4d45 commit e3f6712409c54b03f42869faeff0cf8d8af9245e
@Juan Castillo Juan Castillo authored on 5 Oct 2015
Juan Castillo committed on 20 Oct 2015
Showing 3 changed files
View
bl1/aarch64/bl1_exceptions.S
View
docs/porting-guide.md
View
plat/common/aarch64/platform_helpers.S