diff options
| author | Jamin Lin <jamin_lin@aspeedtech.com> | 2025-10-13 13:43:15 +0800 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-10-13 14:37:55 +0200 |
| commit | 8f1ceec735cb3b44b68ee7dd129d8844f81e39c3 (patch) | |
| tree | 351e52b6e05e93bdb8cd23db900848b08d5b28cb /scripts/lib/kdoc/kdoc_parser.py | |
| parent | 37d2e4b5339ac3d584f8c9b0396c9060f52f12a0 (diff) | |
| download | qemu-8f1ceec735cb3b44b68ee7dd129d8844f81e39c3.zip qemu-8f1ceec735cb3b44b68ee7dd129d8844f81e39c3.tar.gz qemu-8f1ceec735cb3b44b68ee7dd129d8844f81e39c3.tar.bz2 | |
hw/arm/aspeed: Remove AspeedSoCState dependency from aspeed_soc_uart_set_chr() API
Refactor the aspeed_soc_uart_set_chr() helper to remove its dependency
on AspeedSoCState and make the UART character device binding more
generic.
The function now takes SerialMM *uart, uarts_base, and uarts_num
as arguments instead of relying on AspeedSoCState. All affected call
sites in aspeed.c, aspeed_ast27x0-fc.c, and fby35.c are updated
to use the new parameter format.
This improves API flexibility and enables reuse across different Aspeed
SoC variants without requiring access to internal SoC state.
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-4-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
