Export maximum affinity using PLATFORM_MAX_AFFLVL macro
authorSoby Mathew <soby.mathew@arm.com>
Thu, 12 Feb 2015 14:45:02 +0000 (14:45 +0000)
committerSoby Mathew <soby.mathew@arm.com>
Thu, 12 Feb 2015 15:12:52 +0000 (15:12 +0000)
commit8c32bc26e7bc58f028c1b31dd226610d3d388237
tree43232dd3b25fa1e04736a28185abe4ffe3e9a261
parent68fc81743e8671312a98c364ba2b0d69429cf4c6
Export maximum affinity using PLATFORM_MAX_AFFLVL macro

This patch removes the plat_get_max_afflvl() platform API
and instead replaces it with a platform macro PLATFORM_MAX_AFFLVL.
This is done because the maximum affinity level for a platform
is a static value and it is more efficient for it to be defined
as a platform macro.

NOTE: PLATFORM PORTS NEED TO BE UPDATED ON MERGE OF THIS COMMIT

Fixes ARM-Software/tf-issues#265

Change-Id: I31d89b30c2ccda30d28271154d869060d50df7bf
docs/porting-guide.md
include/plat/common/platform.h
plat/fvp/fvp_topology.c
plat/fvp/include/platform_def.h
plat/juno/include/platform_def.h
plat/juno/juno_private.h
plat/juno/plat_topology.c
services/std_svc/psci/psci_common.c
services/std_svc/psci/psci_main.c
services/std_svc/psci/psci_private.h
services/std_svc/psci/psci_setup.c