summaryrefslogtreecommitdiff
path: root/docs/porting-guide.md
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2015-02-25 09:54:41 -0800
committerdanh-arm <dan.handley@arm.com>2015-02-25 09:54:41 -0800
commit0412c66a9e5a55e960055d80e2ff604fadf1ca3e (patch)
treef0b7ba861146a522e1a672e2c307d8320b4deb5f /docs/porting-guide.md
parentf578d5e1a3068fc0a9e6e1c9f024b89f945d691b (diff)
parent8c32bc26e7bc58f028c1b31dd226610d3d388237 (diff)
Merge pull request #259 from soby-mathew/sm/plat_max_afflvl
Export maximum affinity using PLATFORM_MAX_AFFLVL macro
Diffstat (limited to 'docs/porting-guide.md')
-rw-r--r--docs/porting-guide.md30
1 files changed, 11 insertions, 19 deletions
diff --git a/docs/porting-guide.md b/docs/porting-guide.md
index 3ba6715d..fd600977 100644
--- a/docs/porting-guide.md
+++ b/docs/porting-guide.md
@@ -181,6 +181,17 @@ file is found in [plat/fvp/include/platform_def.h].
Defines the total number of nodes in the affinity heirarchy at all affinity
levels used by the platform.
+* **#define : PLATFORM_MAX_AFFLVL**
+
+ Defines the maximum affinity level that the power management operations
+ should apply to. ARMv8-A has support for 4 affinity levels. It is likely
+ that hardware will implement fewer affinity levels. This macro allows the
+ PSCI implementation to consider only those affinity levels in the system
+ that the platform implements. For example, the Base AEM FVP implements two
+ clusters with a configurable number of CPUs. It reports the maximum
+ affinity level as 1, resulting in PSCI power control up to the cluster
+ level.
+
* **#define : BL1_RO_BASE**
Defines the base address in secure ROM where BL1 originally lives. Must be
@@ -1131,25 +1142,6 @@ is missing but needs to be accounted for to reach this single CPU in the
topology tree. Hence it is marked as `PSCI_AFF_ABSENT`.
-### Function : plat_get_max_afflvl() [mandatory]
-
- Argument : void
- Return : int
-
-This function may execute with the MMU and data caches enabled if the platform
-port does the necessary initializations in `bl31_plat_arch_setup()`. It is only
-called by the primary CPU.
-
-This function is called by the PSCI implementation both during cold and warm
-boot, to determine the maximum affinity level that the power management
-operations should apply to. ARMv8-A has support for 4 affinity levels. It is
-likely that hardware will implement fewer affinity levels. This function allows
-the PSCI implementation to consider only those affinity levels in the system
-that the platform implements. For example, the Base AEM FVP implements two
-clusters with a configurable number of CPUs. It reports the maximum affinity
-level as 1, resulting in PSCI power control up to the cluster level.
-
-
### Function : platform_setup_pm() [mandatory]
Argument : const plat_pm_ops **