arm-trusted-firmware/bl32/tsp
Andrew Thoelke 2bf28e620a Allocate single stacks for BL1 and BL2
The BL images share common stack management code which provides
one coherent and one cacheable stack for every CPU. BL1 and BL2
just execute on the primary CPU during boot and do not require
the additional CPU stacks. This patch provides separate stack
support code for UP and MP images, substantially reducing the
RAM usage for BL1 and BL2 for the FVP platform.

This patch also provides macros for declaring stacks and
calculating stack base addresses to improve consistency where
this has to be done in the firmware.

The stack allocation source files are now included via
platform.mk rather than the common BLx makefiles. This allows
each platform to select the appropriate MP/UP stack support
for each BL image.

Each platform makefile must be updated when including this
commit.

Fixes ARM-software/tf-issues#76

Change-Id: Ia251f61b8148ffa73eae3f3711f57b1ffebfa632
2014-04-15 15:49:29 +01:00
..
aarch64 Place assembler functions in separate sections 2014-03-26 21:54:37 +00:00
tsp-fvp.mk Allocate single stacks for BL1 and BL2 2014-04-15 15:49:29 +01:00
tsp.ld.S Use --gc-sections during link 2014-03-26 21:54:37 +00:00
tsp.mk Separate out BL2, BL3-1 and BL3-2 early exception vectors from BL1 2014-03-26 17:36:36 +00:00
tsp_main.c Generate build time and date message at link time. 2014-03-05 16:21:14 +00:00