Split AST2500 SoC machines into separate source files for maintainability
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 15 repliesIn review
Changes in v1 from the cover letter
1. Move "AspeedMachineState" definition to a shared header.
2. Make common helper functions globally accessible.
3. Split each AST2500 machine into its own source file:
- FP5280G2
- G220A
- Tiogapass
- YosemiteV2
- Witherspoon
- Sonorapass
- Romulus
- Supermicro X11SPI
- AST2500 EVB
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | hw/arm/aspeed: Move AspeedMachineState definition to common header for reusehw/ include/ | +14 | 1 reply | |
| 2/13 | hw/arm/aspeed: Make aspeed_machine_class_init_cpus_defaults() globally accessiblehw/ include/ | +2 | 1 reply | |
| 3/13 | hw/arm/aspeed: Make create_pca9552() globally accessible for reusehw/ include/ | +2 | 3 replies | |
| 4/13 | hw/arm/aspeed: Make create_pca9554() available for use by other Aspeed machineshw/ include/ | +2 | 1 reply | |
| 5/13 | hw/arm/aspeed: Split FP5280G2 machine into a separate source file for maintenancehw/ hw/ hw/ | +88 | 1 reply | |
| 6/13 | hw/arm/aspeed: Split G220A machine into a separate source file for better maintenancehw/ hw/ hw/ | +92 | 1 reply | |
| 7/13 | hw/arm/aspeed: Split Tiogapass machine into a separate source file for cleanuphw/ hw/ hw/ +2 more | +90 | 1 reply | |
| 8/13 | hw/arm/aspeed: Split YosemiteV2 machine into a separate source file for maintainabilityhw/ hw/ hw/ +2 more | +91 | 1 reply | |
| 9/13 | hw/arm/aspeed: Split Witherspoon machine into a separate source file for maintainabilityhw/ hw/ hw/ | +112 | 1 reply | |
| 10/13 | hw/arm/aspeed: Split Sonorapass machine into a separate source file for maintainabilityhw/ hw/ hw/ | +102 | 1 reply | |
| 11/13 | hw/arm/aspeed: Split Romulus machine into a separate source file for maintainabilityhw/ hw/ hw/ | +62 | 1 reply | |
| 12/13 | hw/arm/aspeed: Split Supermicro X11SPI machine into a separate file for maintainabilityhw/ hw/ hw/ | +77 | 1 reply | |
| 13/13 | hw/arm/aspeed: Split AST2500 EVB machine into a separate source file for maintainabilityhw/ hw/ hw/ | +67 | 1 reply |
Reviews trailers per patch
11 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Cédric Le Goater |
|---|---|
| 1/13 | R-b |
| 2/13 | R-b |
| 3/13 | |
| 4/13 | |
| 5/13 | R-b |
| 6/13 | R-b |
| 7/13 | R-b |
| 8/13 | R-b |
| 9/13 | R-b |
| 10/13 | R-b |
| 11/13 | R-b |
| 12/13 | R-b |
| 13/13 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 00/13] Split AST2500 SoC machines into separate source files for maintainability
v1:
1. Move "AspeedMachineState" definition to a shared header.
2. Make common helper functions globally accessible.
3. Split each AST2500 machine into its own source file:
- FP5280G2
- G220A
- Tiogapass
- YosemiteV2
- Witherspoon
- Sonorapass
- Romulus
- Supermicro X11SPI
- AST2500 EVB
Jamin Lin (13):
hw/arm/aspeed: Move AspeedMachineState definition to common header for
reuse
hw/arm/aspeed: Make aspeed_machine_class_init_cpus_defaults() globally
accessible
hw/arm/aspeed: Make create_pca9552() globally accessible for reuse hw/arm/aspeed: Make create_pca9554() available for use by other Aspeed
machines
hw/arm/aspeed: Split FP5280G2 machine into a separate source file for
maintenance
hw/arm/aspeed: Split G220A machine into a separate source file for
better maintenance
hw/arm/aspeed: Split Tiogapass machine into a separate source file for
cleanup
hw/arm/aspeed: Split YosemiteV2 machine into a separate source file
for maintainability
hw/arm/aspeed: Split Witherspoon machine into a separate source file
for maintainability
hw/arm/aspeed: Split Sonorapass machine into a separate source file
for maintainability
hw/arm/aspeed: Split Romulus machine into a separate source file for
maintainability
hw/arm/aspeed: Split Supermicro X11SPI machine into a separate file
for maintainability
hw/arm/aspeed: Split AST2500 EVB machine into a separate source file
for maintainability
hw/arm/aspeed_eeprom.h | 7 - include/hw/arm/aspeed.h | 17 + hw/arm/aspeed.c | 508 +--------------------- hw/arm/aspeed_ast2500_evb.c | 66 +++ hw/arm/aspeed_ast2500_fp5280g2.c | 87 ++++ hw/arm/aspeed_ast2500_g220a.c | 91 ++++ hw/arm/aspeed_ast2500_romulus.c | 61 +++ hw/arm/aspeed_ast2500_sonorapass.c | 101 +++++ hw/arm/aspeed_ast2500_supermicro-x11spi.c | 76 ++++ hw/arm/aspeed_ast2500_tiogapass.c | 89 ++++ hw/arm/aspeed_ast2500_witherspoon.c | 111 +++++ hw/arm/aspeed_ast2500_yosemitev2.c | 90 ++++ hw/arm/aspeed_eeprom.c | 44 -- hw/arm/meson.build | 9 + 14 files changed, 801 insertions(+), 556 deletions(-) create mode 100644 hw/arm/aspeed_ast2500_evb.c create mode 100644 hw/arm/aspeed_ast2500_fp5280g2.c create mode 100644 hw/arm/aspeed_ast2500_g220a.c create mode 100644 hw/arm/aspeed_ast2500_romulus.c create mode 100644 hw/arm/aspeed_ast2500_sonorapass.c create mode 100644 hw/arm/aspeed_ast2500_supermicro-x11spi.c create mode 100644 hw/arm/aspeed_ast2500_tiogapass.c create mode 100644 hw/arm/aspeed_ast2500_witherspoon.c create mode 100644 hw/arm/aspeed_ast2500_yosemitev2.c
Signature · 1 line
2.43.0