plat/arm/common: add an additional platform power level
authorChandni Cherukuri <chandni.cherukuri@arm.com>
Tue, 16 Oct 2018 09:12:19 +0000 (14:42 +0530)
committerChandni Cherukuri <chandni.cherukuri@arm.com>
Tue, 27 Nov 2018 05:02:55 +0000 (10:32 +0530)
For platforms using multi-threaded CPUs, there can be upto four
platform power domain levels. At present, there are three platform
power domain levels that are defined for the CSS platforms. Define a
fourth level 'ARM_PWR_LVL3' as well to provide support for an
additional platform power domain level.

Change-Id: I40cc17a10f4690a560776f504364fd7277a7e72a
Signed-off-by: Chandni Cherukuri <chandni.cherukuri@arm.com>
include/plat/arm/common/arm_def.h

index d02a4059a97d26cac0bb50b9a566fa49001ef169..cbac247fc8293c4fa5c4b042e733c6aea376b6f1 100644 (file)
@@ -34,6 +34,7 @@
 #define ARM_PWR_LVL0           MPIDR_AFFLVL0
 #define ARM_PWR_LVL1           MPIDR_AFFLVL1
 #define ARM_PWR_LVL2           MPIDR_AFFLVL2
+#define ARM_PWR_LVL3           MPIDR_AFFLVL3
 
 /*
  *  Macros for local power states in ARM platforms encoded by State-ID field