arm-trusted-firmware/include/lib
Yatharth Kochar 79a97b2ef7 Call reset handlers upon BL3-1 entry.
This patch adds support to call the reset_handler() function in BL3-1 in the
cold and warm boot paths when another Boot ROM reset_handler() has already run.

This means the BL1 and BL3-1 versions of the CPU and platform specific reset
handlers may execute different code to each other. This enables a developer to
perform additional actions or undo actions already performed during the first
call of the reset handlers e.g. apply additional errata workarounds.

Typically, the reset handler will be first called from the BL1 Boot ROM. Any
additional functionality can be added to the reset handler when it is called
from BL3-1 resident in RW memory. The constant FIRST_RESET_HANDLER_CALL is used
to identify whether this is the first version of the reset handler code to be
executed or an overridden version of the code.

The Cortex-A57 errata workarounds are applied only if they have not already been
applied.

Fixes ARM-software/tf-issue#275

Change-Id: Id295f106e4fda23d6736debdade2ac7f2a9a9053
2015-01-26 19:04:15 +00:00
..
aarch64 Return success if an interrupt is seen during PSCI CPU_SUSPEND 2015-01-23 18:36:15 +00:00
cpus/aarch64 Call reset handlers upon BL3-1 entry. 2015-01-26 19:04:15 +00:00
bakery_lock.h Move bakery algorithm implementation out of coherent memory 2015-01-22 10:57:44 +00:00
cassert.h Separate out CASSERT macro into own header 2014-05-06 12:35:02 +01:00
mmio.h Inline the mmio accessor functions 2014-06-24 14:30:23 +01:00
semihosting.h Remove variables from .data section 2014-05-06 17:55:38 +01:00
spinlock.h Always use named structs in header files 2014-05-06 13:57:48 +01:00