On 4/4/22 10:46, Peter Maydell wrote:
The function exynos4210_init_board_irqs() currently lives in
exynos4210_gic.c, but it isn't really part of the exynos4210.gic
device -- it is a function that implements (some of) the wiring up of
interrupts between the SoC's GIC and combiner components.  This means
it fits better in exynos4210.c, which is the SoC-level code.  Move it
there. Similarly, exynos4210_git_irq() is used almost only in the
SoC-level code, so move it too.

Signed-off-by: Peter Maydell<peter.mayd...@linaro.org>
---
  include/hw/arm/exynos4210.h |   4 -
  hw/arm/exynos4210.c         | 202 +++++++++++++++++++++++++++++++++++
  hw/intc/exynos4210_gic.c    | 204 ------------------------------------
  3 files changed, 202 insertions(+), 208 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to