Split AST2400, AST2500, AST2600, AST2700 and AST1030 SoC machines into separate source files for maintainability
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest30 patches 2 repliesIn review
- v330 patches 7 repliesSuperseded
- v217 patches 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 16 patches | 1 reply | Superseded |
Changes in v4 from the cover letter
1. maintain :
Copyright 2016 IBM Corp.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/30 | hw/arm/aspeed: Move AspeedMachineState definition to common header for reusehw/ include/ | +12 | 0 replies | |
| 2/30 | hw/arm/aspeed: Make aspeed_machine_class_init_cpus_defaults() globally accessiblehw/ include/ | +11 | 0 replies | |
| 3/30 | hw/arm/aspeed: Export and rename create_pca9552() for reusehw/ include/ | +34 | 0 replies | |
| 4/30 | hw/arm/aspeed: Rename and export create_pca9554() as aspeed_create_pca9554()hw/ include/ | +18 | 0 replies | |
| 5/30 | hw/arm/aspeed: Split FP5280G2 machine into a separate source file for maintenancehw/ hw/ hw/ | +90 | 0 replies | |
| 6/30 | hw/arm/aspeed: Split G220A machine into a separate source file for better maintenancehw/ hw/ hw/ | +94 | 0 replies | |
| 7/30 | hw/arm/aspeed: Split Tiogapass machine into a separate source file for cleanuphw/ hw/ hw/ +2 more | +92 | 0 replies | |
| 8/30 | hw/arm/aspeed: Split YosemiteV2 machine into a separate source file for maintainabilityhw/ hw/ hw/ +2 more | +93 | 0 replies | |
| 9/30 | hw/arm/aspeed: Split Witherspoon machine into a separate source file for maintainabilityhw/ hw/ hw/ | +114 | 0 replies | |
| 10/30 | hw/arm/aspeed: Split Sonorapass machine into a separate source file for maintainabilityhw/ hw/ hw/ | +104 | 0 replies | |
| 11/30 | hw/arm/aspeed: Split Romulus machine into a separate source file for maintainabilityhw/ hw/ hw/ | +64 | 0 replies | |
| 12/30 | hw/arm/aspeed: Split Supermicro X11SPI machine into a separate file for maintainabilityhw/ hw/ hw/ | +79 | 0 replies | |
| 13/30 | hw/arm/aspeed: Split AST2500 EVB machine into a separate source file for maintainabilityhw/ hw/ hw/ | +69 | 0 replies | |
| 14/30 | hw/arm/aspeed: Split Quanta-Q71L machine into a separate source file for maintainabilityhw/ hw/ hw/ | +88 | 0 replies | |
| 15/30 | hw/arm/aspeed: Split Supermicro X11 machine into a separate source file for maintainabilityhw/ hw/ hw/ | +83 | 0 replies | |
| 16/30 | hw/arm/aspeed: Split Palmetto machine into a separate source file for maintainabilityhw/ hw/ hw/ | +82 | 0 replies | |
| 17/30 | hw/arm/aspeed: Move ASPEED_RAM_SIZE() macro to common header for reusehw/ include/ | +7 | 0 replies | |
| 18/30 | hw/arm/aspeed: Split Bletchley machine into a separate source file for maintainabilityhw/ hw/ hw/ | +99 | 0 replies | |
| 19/30 | hw/arm/aspeed: Split FBY35 BMC machine into a separate source file for maintainabilityhw/ hw/ hw/ +2 more | +180 | 0 replies | |
| 20/30 | hw/arm/aspeed: Split Fuji machine into a separate source file for maintainabilityhw/ hw/ hw/ | +142 | 0 replies | |
| 21/30 | hw/arm/aspeed: Split QCOM Firework machine into a separate source file for maintainabilityhw/ hw/ hw/ | +93 | 0 replies | |
| 22/30 | hw/arm/aspeed: Split QCOM DC-SCM V1 machine into a separate source file for maintainabilityhw/ hw/ hw/ | +57 | 0 replies | |
| 23/30 | hw/arm/aspeed: Make aspeed_machine_ast2600_class_emmc_init() a common API for eMMC boot setuphw/ include/ | +11 | 0 replies | |
| 24/30 | hw/arm/aspeed: Split GB200NVL machine into a separate source file for maintainabilityhw/ hw/ hw/ +2 more | +113 | 0 replies | |
| 25/30 | hw/arm/aspeed: Split Rainier machine into a separate source file for maintainabilityhw/ hw/ hw/ +2 more | +200 | 0 replies | |
| 26/30 | hw/arm/aspeed: Split Catalina machine into a separate source file for maintainabilityhw/ hw/ hw/ | +227 | 0 replies | |
| 27/30 | hw/arm/aspeed: Split AST2600 EVB machine into a separate source file for maintainabilityhw/ hw/ hw/ | +67 | 0 replies | |
| 28/30 | hw/arm/aspeed: Split AST2700 EVB machine into a separate source file for maintainabilityhw/ hw/ hw/ | +90 | 0 replies | |
| 29/30 | hw/arm/aspeed: Rename and export connect_serial_hds_to_uarts() as aspeed_connect_serial_hds_to_uarts()hw/ include/ | +17 | 0 replies | |
| 30/30 | hw/arm/aspeed: Split AST1030 EVB machine into a separate source file for maintainabilityhw/ hw/ hw/ | +110 | 0 replies |
Reviews trailers per patch
12 of 30 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Cédric Le Goater |
|---|---|
| Series | R-b R-b |
| 1/30 | R-b |
| 2/30 | R-b |
| 3/30 | R-b |
| 4/30 | |
| 5/30 | R-b |
| 6/30 | R-b |
| 7/30 | R-b |
| 8/30 | R-b |
| 9/30 | R-b |
| 10/30 | R-b |
| 11/30 | R-b |
| 12/30 | R-b |
| 13/30 | R-b |
| 14/30 | |
| 15/30 | |
| 16/30 | |
| 17/30 | |
| 18/30 | |
| 19/30 | |
| 20/30 | |
| 21/30 | |
| 22/30 | |
| 23/30 | |
| 24/30 | |
| 25/30 | |
| 26/30 | |
| 27/30 | |
| 28/30 | |
| 29/30 | |
| 30/30 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 00/30] Split AST2400, AST2500, AST2600, AST2700 and AST1030 SoC machines into separate source files for maintainability
v1:
1. Split each Aspeed machine into its own source file for better readability and maintainability:
- Quanta-Q71L
- Supermicro X11
- Palmetto
- Bletchley
- fby35 BMC
- Facebook Fuji
- QCOM Firework
- QCOM DC-SCM V1
- GB200NVL
- Rainier
- Catalina
- AST2600 EVB
- AST2700 EVB
- AST1030 EVB
2. Make aspeed_machine_ast2600_class_emmc_init() a shared API for eMMC boot setup.
3. Promote connect_serial_hds_to_uarts() to a public machine API for reuse across platforms.
v2:
1. Restore ASPEED_RAM_SIZE() macro
v3:
1. Merged AST2500 SoC machine changes into this patch series. Split each AST2500 machine into its own source file:
- FP5280G2
- G220A
- Tiogapass
- YosemiteV2
- Witherspoon
- Sonorapass
- Romulus
- Supermicro X11SPI
- AST2500 EVB
2. Renamed common API functions with the aspeed_ prefix for consistency.
3. Added detailed descriptions for the common API functions.
v4:
1. maintain :
Copyright 2016 IBM Corp.
in the new files since the code is copied from aspeed.c
2. Use I2C instead of I2C
Jamin Lin (30):
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: Export and rename create_pca9552() for reuse hw/arm/aspeed: Rename and export create_pca9554() as
aspeed_create_pca9554()
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: Split Quanta-Q71L machine into a separate source file
for maintainability
hw/arm/aspeed: Split Supermicro X11 machine into a separate source
file for maintainability
hw/arm/aspeed: Split Palmetto machine into a separate source file for
maintainability
hw/arm/aspeed: Move ASPEED_RAM_SIZE() macro to common header for reuse hw/arm/aspeed: Split Bletchley machine into a separate source file for
maintainability
hw/arm/aspeed: Split FBY35 BMC machine into a separate source file for
maintainability
hw/arm/aspeed: Split Fuji machine into a separate source file for
maintainability
hw/arm/aspeed: Split QCOM Firework machine into a separate source file
for maintainability
hw/arm/aspeed: Split QCOM DC-SCM V1 machine into a separate source
file for maintainability
hw/arm/aspeed: Make aspeed_machine_ast2600_class_emmc_init() a common
API for eMMC boot setup
hw/arm/aspeed: Split GB200NVL machine into a separate source file for
maintainability
hw/arm/aspeed: Split Rainier machine into a separate source file for
maintainability
hw/arm/aspeed: Split Catalina machine into a separate source file for
maintainability
hw/arm/aspeed: Split AST2600 EVB machine into a separate source file
for maintainability
hw/arm/aspeed: Split AST2700 EVB machine into a separate source file
for maintainability
hw/arm/aspeed: Rename and export connect_serial_hds_to_uarts() as
aspeed_connect_serial_hds_to_uarts()
hw/arm/aspeed: Split AST1030 EVB machine into a separate source file
for maintainability
hw/arm/aspeed_eeprom.h | 32 - include/hw/arm/aspeed.h | 79 + hw/arm/aspeed.c | 1678 +-------------------- hw/arm/aspeed_ast10x0_evb.c | 109 ++ hw/arm/aspeed_ast2400_palmetto.c | 81 + hw/arm/aspeed_ast2400_quanta-q71l.c | 87 ++ hw/arm/aspeed_ast2400_supermicrox11.c | 82 + hw/arm/aspeed_ast2500_evb.c | 68 + hw/arm/aspeed_ast2500_fp5280g2.c | 89 ++ hw/arm/aspeed_ast2500_g220a.c | 93 ++ hw/arm/aspeed_ast2500_romulus.c | 63 + hw/arm/aspeed_ast2500_sonorapass.c | 103 ++ hw/arm/aspeed_ast2500_supermicro-x11spi.c | 78 + hw/arm/aspeed_ast2500_tiogapass.c | 91 ++ hw/arm/aspeed_ast2500_witherspoon.c | 113 ++ hw/arm/aspeed_ast2500_yosemitev2.c | 92 ++ hw/arm/aspeed_ast2600_bletchley.c | 98 ++ hw/arm/aspeed_ast2600_catalina.c | 226 +++ hw/arm/aspeed_ast2600_evb.c | 66 + hw/arm/aspeed_ast2600_fby35.c | 179 +++ hw/arm/aspeed_ast2600_fuji.c | 141 ++ hw/arm/aspeed_ast2600_gb200nvl.c | 112 ++ hw/arm/aspeed_ast2600_qcom-dc-scm-v1.c | 56 + hw/arm/aspeed_ast2600_qcom-firework.c | 92 ++ hw/arm/aspeed_ast2600_rainier.c | 199 +++ hw/arm/aspeed_ast27x0_evb.c | 89 ++ hw/arm/aspeed_eeprom.c | 192 --- hw/arm/meson.build | 24 +- 28 files changed, 2515 insertions(+), 1897 deletions(-) delete mode 100644 hw/arm/aspeed_eeprom.h create mode 100644 hw/arm/aspeed_ast10x0_evb.c create mode 100644 hw/arm/aspeed_ast2400_palmetto.c create mode 100644 hw/arm/aspeed_ast2400_quanta-q71l.c create mode 100644 hw/arm/aspeed_ast2400_supermicrox11.c 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 create mode 100644 hw/arm/aspeed_ast2600_bletchley.c create mode 100644 hw/arm/aspeed_ast2600_catalina.c create mode 100644 hw/arm/aspeed_ast2600_evb.c create mode 100644 hw/arm/aspeed_ast2600_fby35.c create mode 100644 hw/arm/aspeed_ast2600_fuji.c create mode 100644 hw/arm/aspeed_ast2600_gb200nvl.c create mode 100644 hw/arm/aspeed_ast2600_qcom-dc-scm-v1.c create mode 100644 hw/arm/aspeed_ast2600_qcom-firework.c create mode 100644 hw/arm/aspeed_ast2600_rainier.c create mode 100644 hw/arm/aspeed_ast27x0_evb.c delete mode 100644 hw/arm/aspeed_eeprom.c
Signature · 1 line
2.43.0