On 10/13/25 07:43, Jamin Lin wrote:
Remove the the common aspeed_soc_get_irq. Call sites are updated to use the
SoC-specific get_irq helpers directly (aspeed_soc_ast1030_get_irq(),
_aspeed2400_get_irq(), _ast2600_get_irq(), _ast27x0ssp_get_irq(),
_ast27x0tsp_get_irq(), and _ast2700_get_irq())
This makes the IRQ lookup explicit per-SoC and drops the exported
API that depended on AspeedSoCState, reducing cross-module coupling
in the common layer.
No functional change.
Signed-off-by: Jamin Lin <[email protected]>
---
include/hw/arm/aspeed_soc.h | 2 --
hw/arm/aspeed_ast10x0.c | 17 ++++++++---------
hw/arm/aspeed_ast2400.c | 31 +++++++++++++++----------------
hw/arm/aspeed_ast2600.c | 34 +++++++++++++++++-----------------
hw/arm/aspeed_ast27x0-ssp.c | 3 +--
hw/arm/aspeed_ast27x0-tsp.c | 3 +--
hw/arm/aspeed_ast27x0.c | 27 +++++++++++++--------------
hw/arm/aspeed_soc_common.c | 5 -----
8 files changed, 55 insertions(+), 67 deletions(-)
Reviewed-by: Cédric Le Goater <[email protected]>
Thanks,
C.