diff options
author | Soby Mathew <soby.mathew@arm.com> | 2016-03-24 10:12:42 +0000 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2016-05-25 10:25:16 +0100 |
commit | 7123787616e21871319909508e80594c7f24f6b8 (patch) | |
tree | 003037879d9305b08452f220af2a286485f91175 /plat/arm/common/arm_ccn.c | |
parent | 6331a31a66cdcf53421d3dccd3067f072c6da175 (diff) |
Add CCN support to FVP platform port
This patch adds support to select CCN driver for FVP during build.
A new build option `FVP_INTERCONNECT_DRIVER` is added to allow
selection between the CCI and CCN driver. Currently only the CCN-502
variant is supported on FVP.
The common ARM CCN platform helper file now verifies the cluster
count declared by platform is equal to the number of root node
masters exported by the ARM Standard platform.
Change-Id: I71d7b4785f8925ed499c153b2e9b9925fcefd57a
Diffstat (limited to 'plat/arm/common/arm_ccn.c')
-rw-r--r-- | plat/arm/common/arm_ccn.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plat/arm/common/arm_ccn.c b/plat/arm/common/arm_ccn.c index 5cb443aa..fe10d7b5 100644 --- a/plat/arm/common/arm_ccn.c +++ b/plat/arm/common/arm_ccn.c @@ -43,6 +43,9 @@ static const ccn_desc_t arm_ccn_desc = { .master_to_rn_id_map = master_to_rn_id_map }; +CASSERT(PLAT_ARM_CLUSTER_COUNT == ARRAY_SIZE(master_to_rn_id_map), + assert_invalid_cluster_count_for_ccn_variant); + /****************************************************************************** * The following functions are defined as weak to allow a platform to override * the way ARM CCN driver is initialised and used. |