Skip to content

Commit

Permalink
core: remove unused deprecated gic_cpu_init()
Browse files Browse the repository at this point in the history
Remove the unused deprecated function gic_cpu_init().

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
  • Loading branch information
jenswi-linaro committed Dec 6, 2023
1 parent e8bae8d commit e123241
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
14 changes: 0 additions & 14 deletions core/drivers/gic.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,20 +342,6 @@ void gic_init_per_cpu(void)
}
}

void gic_cpu_init(void)
{
struct gic_data *gd = &gic_data;

#if defined(CFG_ARM_GICV3)
assert(gd->gicd_base);
#else
assert(gd->gicd_base && gd->gicc_base);
#endif
IMSG("%s is deprecated, please use gic_init_per_cpu()", __func__);

init_gic_per_cpu(gd);
}

void gic_init_donate_sgi_to_ns(size_t it)
{
struct gic_data *gd = &gic_data;
Expand Down
8 changes: 0 additions & 8 deletions core/include/drivers/gic.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,6 @@ void gic_init_donate_sgi_to_ns(size_t it);
*/
void gic_init_per_cpu(void);

/*
* Only initialize CPU GIC interface, mainly use for secondary CPUs in
* non-TF-A configurations.
*
* This function is deprecated, please use gic_init_per_cpu() instead.
*/
void gic_cpu_init(void);

/* Print GIC state to console */
void gic_dump_state(void);
#endif /*__DRIVERS_GIC_H*/

0 comments on commit e123241

Please sign in to comment.