diff options
author | Andrew Thoelke <andrew.thoelke@arm.com> | 2014-06-20 00:36:14 +0100 |
---|---|---|
committer | Andrew Thoelke <andrew.thoelke@arm.com> | 2014-06-23 14:56:12 +0100 |
commit | 6c0b45d1ceb13cb409f8d62d712d6f0c44feab6c (patch) | |
tree | 19791165a5a11459b1c176885060f3764d80dc7c /bl1 | |
parent | 13ac44a5c7336657ba7518ea31c66f7e7dd7eea8 (diff) |
Correctly dimension the PSCI aff_map_node array
The array of affinity nodes is currently allocated for 32 entries
with the PSCI_NUM_AFFS value defined in psci.h. This is not enough
for large systems, and will substantially over allocate the array
for small systems.
This patch introduces an optional platform definition
PLATFORM_NUM_AFFS to platform_def.h. If defined this value is
used for PSCI_NUM_AFFS, otherwise a value of two times the number
of CPU cores is used.
The FVP port defines PLATFORM_NUM_AFFS to be 10 which saves
nearly 1.5KB of memory.
Fixes ARM-software/tf-issues#192
Change-Id: I68e30ac950de88cfbd02982ba882a18fb69c1445
Diffstat (limited to 'bl1')
0 files changed, 0 insertions, 0 deletions