aboutsummaryrefslogtreecommitdiff
path: root/plat/arm/common/arm_gicv3.c
diff options
context:
space:
mode:
authorDaniel Boulby <daniel.boulby@arm.com>2018-09-18 13:36:39 +0100
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-10-03 11:48:15 +0100
commitc9263e62a749610c880bdc693e4e644bd9091611 (patch)
treeb2d1d2963e47f0fc3bf5703e15a3b92c02072a48 /plat/arm/common/arm_gicv3.c
parentaff2863fe616901fc4194381c7ab1839aa70d373 (diff)
downloadtrusted-firmware-a-c9263e62a749610c880bdc693e4e644bd9091611.tar.gz
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 'plat/arm/common/arm_gicv3.c')
-rw-r--r--plat/arm/common/arm_gicv3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/arm/common/arm_gicv3.c b/plat/arm/common/arm_gicv3.c
index b8ffd6bc43..e9e8a74d92 100644
--- a/plat/arm/common/arm_gicv3.c
+++ b/plat/arm/common/arm_gicv3.c
@@ -68,7 +68,7 @@ static const gicv3_driver_data_t arm_gic_data __unused = {
.mpidr_to_core_pos = arm_gicv3_mpidr_hash
};
-void plat_arm_gic_driver_init(void)
+void __init plat_arm_gic_driver_init(void)
{
/*
* The GICv3 driver is initialized in EL3 and does not need
@@ -85,7 +85,7 @@ void plat_arm_gic_driver_init(void)
/******************************************************************************
* ARM common helper to initialize the GIC. Only invoked by BL31
*****************************************************************************/
-void plat_arm_gic_init(void)
+void __init plat_arm_gic_init(void)
{
gicv3_distif_init();
gicv3_rdistif_init(plat_my_core_pos());