diff options
| author | Jamin Lin <jamin_lin@aspeedtech.com> | 2025-10-13 13:43:19 +0800 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-10-13 14:37:55 +0200 |
| commit | 15f26071bf424a564e177ab1ac746b85feda5286 (patch) | |
| tree | 94fc81ab987654ab98c1cfd54a5074c5bf3a20fb /scripts/lib/kdoc/kdoc_parser.py | |
| parent | 68f915b91cbf697b5f65a6aca72f260c6c29d00f (diff) | |
| download | qemu-15f26071bf424a564e177ab1ac746b85feda5286.zip qemu-15f26071bf424a564e177ab1ac746b85feda5286.tar.gz qemu-15f26071bf424a564e177ab1ac746b85feda5286.tar.bz2 | |
hw/arm/aspeed: Remove AspeedSoCState dependency from aspeed_soc_uart_realize() API
Refactor aspeed_soc_uart_realize() to take MemoryRegion *, SerialMM *,
and MMIO base addr instead of AspeedSoCState *, decoupling the helper
from SoC state and making it reusable per-UART.
The helper now realizes a single UART instance and maps its MMIO.
IRQ wiring and iteration over all UARTs are moved to callers.
Update call sites in AST1030, AST2400, AST2600, AST27x0 SSP/TSP, and
AST2700 to loop over UARTs, call the new helper, and connect IRQ via
aspeed_soc_get_irq().
This simplifies the UART realize path and reduces cross-module coupling.
No functional change.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20251013054334.955331-8-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
