arm-trusted-firmware/bl32/tsp
Sandrine Bailleux fe23b15d11 juno: Add support for BL3-2 image
This patch implements the TSP on Juno. It executes from Secure RAM.

Also, the other bootloader images (i.e. BL1 R/W, BL2 and BL3-1) have
been moved around. The reason is, although there was enough space
overall to store the TSP in SRAM, there was no contiguous free chunk
of SRAM big enough to hold it.

This patch keeps the overall memory layout (i.e. keeping BL1 R/W at
the bottom, BL2 at the top and BL3-1 in between) but moves the base
addresses of all the bootloader images in such a way that:
 - memory fragmentation is reduced enough to fit BL3-2 in;
 - new base addresses are suitable for release builds as well as debug
   ones;
 - each image has a few extra kilobytes for future growth.
   BL3-1 and BL3-2 are the images which received the biggest slice
   of the cake since they will most probably grow the most.

A few useful numbers for reference (valid at the time of this patch):
        |-----------------------|-------------------------------
        |  image size (debug)   |  extra space for the future
--------|-----------------------|-------------------------------
BL1 R/W |         28 KB         |            4 KB
BL2     |         48 KB         |            4 KB
BL3-1   |         96 KB         |            8 KB
BL3-2   |         56 KB         |            8 KB
--------|-----------------------|-------------------------------
Total   |        228 KB         |           24 KB       = 252 KB
--------|-----------------------|-------------------------------

Note: On Juno, although the Secure RAM is 256 KB, the first 4KB
are reserved for the AP/SCP mailboxes.

Change-Id: I999ec39589c45beabe1ecd772641623e58569a6e
2014-06-05 17:39:40 +01:00
..
aarch64 Add enable mmu platform porting interfaces 2014-05-23 18:02:01 +01:00
tsp-fvp.mk Rename FVP specific files and functions 2014-05-23 18:01:41 +01:00
tsp-juno.mk juno: Add support for BL3-2 image 2014-06-05 17:39:40 +01:00
tsp.ld.S Split platform.h into separate headers 2014-05-23 15:52:29 +01:00
tsp.mk Add support for asynchronous FIQ handling in TSP 2014-05-22 17:48:38 +01:00
tsp_interrupt.c Further renames of platform porting functions 2014-05-27 16:17:21 +01:00
tsp_main.c Move BL porting functions into platform.h 2014-05-23 17:18:54 +01:00
tsp_timer.c Split platform.h into separate headers 2014-05-23 15:52:29 +01:00