aboutsummaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorJamin Lin <jamin_lin@aspeedtech.com>2025-10-13 13:43:16 +0800
committerCédric Le Goater <clg@redhat.com>2025-10-13 14:37:55 +0200
commitbb3219345aa195b1ac3d0c91ab30d90d2fc85c16 (patch)
tree1f0fb306df9a676d04e7c458c82594c383f14cc0 /scripts/lib/kdoc/kdoc_parser.py
parent8f1ceec735cb3b44b68ee7dd129d8844f81e39c3 (diff)
downloadqemu-bb3219345aa195b1ac3d0c91ab30d90d2fc85c16.zip
qemu-bb3219345aa195b1ac3d0c91ab30d90d2fc85c16.tar.gz
qemu-bb3219345aa195b1ac3d0c91ab30d90d2fc85c16.tar.bz2
hw/arm/aspeed: Remove AspeedSoCClass dependency from aspeed_soc_cpu_type() API
Refactor the aspeed_soc_cpu_type() helper to remove its dependency on AspeedSoCClass and make CPU type retrieval more generic. The function now takes valid_cpu_types as a const char * const * parameter instead of requiring a full AspeedSoCClass instance. All corresponding call sites in various Aspeed SoC initialization files (aspeed_ast10x0.c, aspeed_ast2400.c, aspeed_ast2600.c, aspeed_ast27x0.c, and related variants) are updated accordingly. This change simplifies the API, eliminates unnecessary type coupling, and improves code reusability across different SoC families. 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-5-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