diff options
author | Jun Nie <jun.nie@linaro.org> | 2018-09-06 15:03:12 +0800 |
---|---|---|
committer | Jun Nie <jun.nie@linaro.org> | 2018-09-06 15:03:12 +0800 |
commit | ebcf5b9e9a56765c3498d01adf120cb13347306a (patch) | |
tree | b30758544ea1f307e8d5e16e481313fd28703bdb | |
parent | 358d68d02c0283d3f9983bd3eedbac384c15c809 (diff) |
warp7: Fix power level number for warp7
Fix power level number for warp7 because there are only two power levels
are defined.
Signed-off-by: Jun Nie <jun.nie@linaro.org>
-rw-r--r-- | plat/nxp/board/warp7/include/platform_def.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plat/nxp/board/warp7/include/platform_def.h b/plat/nxp/board/warp7/include/platform_def.h index 7011d33..dc4e0a7 100644 --- a/plat/nxp/board/warp7/include/platform_def.h +++ b/plat/nxp/board/warp7/include/platform_def.h @@ -163,6 +163,10 @@ #define PLATFORM_CORE_COUNT 1 #define PLATFORM_MAX_CPUS_PER_CLUSTER 1 +#ifdef MPIDR_MAX_AFFLVL +#undef MPIDR_MAX_AFFLVL +#endif +#define MPIDR_MAX_AFFLVL 1 #define PLATFORM_NUM_AFFS (PLATFORM_CLUSTER_COUNT + \ PLATFORM_CORE_COUNT) #define PLATFORM_MAX_AFFLVL MPIDR_AFFLVL1 |