Commit 96318f82 authored by Suyash Pathak's avatar Suyash Pathak
Browse files

plat/arm: allow boards to define PLAT_ARM_TZC_FILTERS



A TZC400 can have upto 4 filters and the number of filters instantiated
within a TZC400 is platform dependent. So allow platforms to define the
value of PLAT_ARM_TZC_FILTERS by moving the existing Juno specific
definition of PLAT_ARM_TZC_FILTERS to Juno board definitions.

Change-Id: I67a63d7336595bbfdce3163f9a9473e15e266f40
Signed-off-by: default avatarSuyash Pathak <suyash.pathak@arm.com>
parent 95605938
...@@ -189,9 +189,6 @@ ...@@ -189,9 +189,6 @@
/* Load address of Non-Secure Image for CSS platform ports */ /* Load address of Non-Secure Image for CSS platform ports */
#define PLAT_ARM_NS_IMAGE_BASE U(0xE0000000) #define PLAT_ARM_NS_IMAGE_BASE U(0xE0000000)
/* TZC related constants */
#define PLAT_ARM_TZC_FILTERS TZC_400_REGION_ATTR_FILTER_BIT_ALL
/* /*
* Parsing of CPU and Cluster states, as returned by 'Get CSS Power State' SCP * Parsing of CPU and Cluster states, as returned by 'Get CSS Power State' SCP
* command * command
......
...@@ -212,6 +212,9 @@ ...@@ -212,6 +212,9 @@
TZC_REGION_ACCESS_RDWR(TZC400_NSAID_GPU) | \ TZC_REGION_ACCESS_RDWR(TZC400_NSAID_GPU) | \
TZC_REGION_ACCESS_RDWR(TZC400_NSAID_CORESIGHT)) TZC_REGION_ACCESS_RDWR(TZC400_NSAID_CORESIGHT))
/* TZC related constants */
#define PLAT_ARM_TZC_FILTERS TZC_400_REGION_ATTR_FILTER_BIT_ALL
/* /*
* Required ARM CSS based platform porting definitions * Required ARM CSS based platform porting definitions
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment