diff options
author | Daniel Boulby <daniel.boulby@arm.com> | 2018-09-18 13:36:39 +0100 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-10-03 11:48:15 +0100 |
commit | c9263e62a749610c880bdc693e4e644bd9091611 (patch) | |
tree | b2d1d2963e47f0fc3bf5703e15a3b92c02072a48 /drivers/arm/ccn/ccn.c | |
parent | aff2863fe616901fc4194381c7ab1839aa70d373 (diff) | |
download | platform_external_arm-trusted-firmware-c9263e62a749610c880bdc693e4e644bd9091611.tar.gz platform_external_arm-trusted-firmware-c9263e62a749610c880bdc693e4e644bd9091611.tar.bz2 platform_external_arm-trusted-firmware-c9263e62a749610c880bdc693e4e644bd9091611.zip |
Mark GICV3, CCI and CCN boot time code as init
Mark the GICv3, CCI and CCN code only used in Bl31 initialization
with __init to be reclaimed once no longer needed.
Change-Id: I3d77f36758450d9d1d87ecc60bc1c63fe4082667
Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
Diffstat (limited to 'drivers/arm/ccn/ccn.c')
-rw-r--r-- | drivers/arm/ccn/ccn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/arm/ccn/ccn.c b/drivers/arm/ccn/ccn.c index afb7d9d3b..910cd7cd2 100644 --- a/drivers/arm/ccn/ccn.c +++ b/drivers/arm/ccn/ccn.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -167,7 +167,7 @@ static unsigned int ccn_get_rn_master_info(uintptr_t periphbase, * It compares this with the information provided by the platform to determine * the validity of the latter. ******************************************************************************/ -static void ccn_validate_plat_params(const ccn_desc_t *plat_desc) +static void __init ccn_validate_plat_params(const ccn_desc_t *plat_desc) { unsigned int master_id, num_rn_masters; rn_info_t info = { {0} }; @@ -208,7 +208,7 @@ static void ccn_validate_plat_params(const ccn_desc_t *plat_desc) * simultaneous CCN operations at runtime (only BL31) to add and remove Request * nodes from coherency. ******************************************************************************/ -void ccn_init(const ccn_desc_t *plat_desc) +void __init ccn_init(const ccn_desc_t *plat_desc) { #if ENABLE_ASSERTIONS ccn_validate_plat_params(plat_desc); |