hw/arm/exynos4210: Move exynos4210_init_board_irqs() into exynos4210.c
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Apr 2022 15:46:47 +0000 (16:46 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Apr 2022 10:37:04 +0000 (11:37 +0100)
commit93afe073df30944191a1fe2a7fd4f0456e231720
treed6f9efa5c10766445780c19451ec9a3f365b23d9
parent44068eabe0826c24096ddc2431ae9a03a7321a83
hw/arm/exynos4210: Move exynos4210_init_board_irqs() into exynos4210.c

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.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220404154658.565020-8-peter.maydell@linaro.org
hw/arm/exynos4210.c
hw/intc/exynos4210_gic.c
include/hw/arm/exynos4210.h