On 10/23/25 12:01, Jamin Lin wrote:
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 <[email protected]>
---
  hw/arm/aspeed.c                  | 65 ------------------------
  hw/arm/aspeed_ast2500_fp5280g2.c | 87 ++++++++++++++++++++++++++++++++
  hw/arm/meson.build               |  1 +
  3 files changed, 88 insertions(+), 65 deletions(-)
  create mode 100644 hw/arm/aspeed_ast2500_fp5280g2.c


Reviewed-by: Cédric Le Goater <[email protected]>

Thanks,

C.




Reply via email to