arm-trusted-firmware/docs
Sandrine Bailleux 52010cc779 Rationalize reset handling code
The attempt to run the CPU reset code as soon as possible after reset
results in highly complex conditional code relating to the
RESET_TO_BL31 option.

This patch relaxes this requirement a little. In the BL1, BL3-1 and
PSCI entrypoints code, the sequence of operations is now as follows:
 1) Detect whether it is a cold or warm boot;
 2) For cold boot, detect whether it is the primary or a secondary
    CPU. This is needed to handle multiple CPUs entering cold reset
    simultaneously;
 3) Run the CPU init code.

This patch also abstracts the EL3 registers initialisation done by
the BL1, BL3-1 and PSCI entrypoints into common code.

This improves code re-use and consolidates the code flows for
different types of systems.

NOTE: THE FUNCTION plat_secondary_cold_boot() IS NOW EXPECTED TO
NEVER RETURN. THIS PATCH FORCES PLATFORM PORTS THAT RELIED ON THE
FORMER RETRY LOOP AT THE CALL SITE TO MODIFY THEIR IMPLEMENTATION.
OTHERWISE, SECONDARY CPUS WILL PANIC.

Change-Id: If5ecd74d75bee700b1bd718d23d7556b8f863546
2015-06-04 11:38:54 +01:00
..
diagrams Document design of the Interrupt Mangement Framework 2014-06-03 18:42:14 +01:00
change-log.md Documentation for version 1.1 2015-02-03 11:43:43 +00:00
cpu-specific-build-macros.md Miscellaneous doc fixes for v1.1 2015-02-02 17:46:32 +00:00
firmware-design.md Rationalize reset handling code 2015-06-04 11:38:54 +01:00
interrupt-framework-design.md Create Table of Content links in markdown files 2015-01-07 15:01:07 +01:00
optee-dispatcher.md Add opteed based on tspd 2014-09-16 11:51:54 -07:00
porting-guide.md Rationalize reset handling code 2015-06-04 11:38:54 +01:00
rt-svc-writers-guide.md Documentation for version 1.1 2015-02-03 11:43:43 +00:00
tlk-dispatcher.md TLK-D documentation and add NVIDIA to the Acknowledgements file 2015-03-31 10:11:47 +05:30
trusted-board-boot.md TBB: use SHA256 to generate the certificate signatures 2015-03-05 16:40:07 +00:00
user-guide.md Move up dependency versions in user guide 2015-04-29 14:55:45 +01:00