diff options
author | Chandni Cherukuri <chandni.cherukuri@arm.com> | 2018-10-16 14:11:34 +0530 |
---|---|---|
committer | Chandni Cherukuri <chandni.cherukuri@arm.com> | 2018-11-27 10:32:55 +0530 |
commit | a83d4bd765af515e74062425ca45012d4247945a (patch) | |
tree | b8337bd4d13398b24154f649f5584084c08f1ff5 /plat/arm/board/sgi575 | |
parent | bd3d7b4ac4a0500c9e97e6e08ae6e99bb81c4dfb (diff) | |
download | arm-trusted-firmware-a83d4bd765af515e74062425ca45012d4247945a.tar.gz |
plat/arm/sgi: allow value of PLAT_MAX_PWR_LVL to be platform specific
For platforms with multi-threaded CPUs, the number of power domains
supported would be more than the value currently defined by
PLAT_MAX_PWR_LVL. So move the PLAT_MAX_PWR_LVL macro to platform
specific code and let the platform define the number of power domain
levels.
Change-Id: I21c0682e62b397860b2999031a0c9c5ce0d28eed
Signed-off-by: Chandni Cherukuri <chandni.cherukuri@arm.com>
Diffstat (limited to 'plat/arm/board/sgi575')
-rw-r--r-- | plat/arm/board/sgi575/include/platform_def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plat/arm/board/sgi575/include/platform_def.h b/plat/arm/board/sgi575/include/platform_def.h index 394a2e829..16e2898de 100644 --- a/plat/arm/board/sgi575/include/platform_def.h +++ b/plat/arm/board/sgi575/include/platform_def.h @@ -23,4 +23,6 @@ /* System power domain level */ #define CSS_SYSTEM_PWR_DMN_LVL ARM_PWR_LVL2 +#define PLAT_MAX_PWR_LVL ARM_PWR_LVL1 + #endif /* PLATFORM_DEF_H */ |