summaryrefslogtreecommitdiff
path: root/plat
diff options
context:
space:
mode:
authorJavier Almansa Sobrino <javier.almansasobrino@arm.com>2020-09-04 12:52:23 +0100
committerManish Pandey <manish.pandey2@arm.com>2020-10-09 15:17:01 +0000
commit109d5c1b53779b18c98aa21d959d1182164b2eb7 (patch)
treeac7a65620ecba8d80bef1abe2462b3494c944688 /plat
parentda5f4e36b2bb34f4df3b7ddb3f5424005b8f5bb4 (diff)
Remove dependencies from FVP to generic code
Some generic parts of TFTF have dependencies from FVP platform macros which can cause some trouble when porting the tests to a different platform. Signed-off-by: Javier Almansa Sobrino <javier.almansasobrino@arm.com> Change-Id: I11eb1af142b8c0ee1de2fcc8f298658bceedf306
Diffstat (limited to 'plat')
-rw-r--r--plat/arm/fvp/include/platform_def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plat/arm/fvp/include/platform_def.h b/plat/arm/fvp/include/platform_def.h
index 3abeb03..ed45642 100644
--- a/plat/arm/fvp/include/platform_def.h
+++ b/plat/arm/fvp/include/platform_def.h
@@ -160,6 +160,8 @@
PLATFORM_CORE_COUNT)
#define PLATFORM_MAX_AFFLVL MPIDR_AFFLVL2
+#define PLAT_MAX_PE_PER_CPU FVP_MAX_PE_PER_CPU
+
/* TODO : Migrate complete TFTF from affinity level to power levels */
#define PLAT_MAX_PWR_LEVEL PLATFORM_MAX_AFFLVL
#define PLAT_MAX_PWR_STATES_PER_LVL 2