]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/arm/aspeed: Split FP5280G2 machine into a separate source file for maintenance
authorJamin Lin <jamin_lin@aspeedtech.com>
Tue, 4 Nov 2025 03:12:43 +0000 (11:12 +0800)
committerCédric Le Goater <clg@redhat.com>
Tue, 4 Nov 2025 08:27:58 +0000 (09:27 +0100)
commit358bbc350d0e046c6b832b08b3223aa661eccc8c
tree12a9c65e5448b40f2ebc86a67dbc5c1e46bb78f4
parentcf7155da296d7dacb64ffe8fd8923f36c42fb944
hw/arm/aspeed: Split FP5280G2 machine into a separate source file for maintenance

This commit moves the FP5280G2 BMC machine implementation from
aspeed.c into a new standalone file aspeed_ast2500_fp5280g2.c.

The change improves code organization and prepares the Aspeed
machine framework for future expansion and easier maintenance.

Key updates include:
- Moved fp5280g2_bmc_i2c_init() and related machine class init
functions into aspeed_ast2500_fp5280g2.c.
- Added new file to hw/arm/meson.build for compilation.
- Removed obsolete FP5280G2 definitions from aspeed.c

No functional changes.

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/20251104031325.146374-6-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/arm/aspeed.c
hw/arm/aspeed_ast2500_fp5280g2.c [new file with mode: 0644]
hw/arm/meson.build