Hello, The most important Aspeed models are reworked with an object class to introduce the AST2600 variant. A model for the AST2600 SoC and a simple AST2600 EVB machine is proposed at the end of the series. It can boot the OpenBMC firmware image which is currently used for HW bringup.
I would like to have some feedback on the approach taken to instantiate the correct type of a device model for a given SoC and also on the AST2600 SoC model itself as it has some significant difference with the previous. This series is based on the previous Aspeed series : http://patchwork.ozlabs.org/cover/1157492/ Thanks, C. Cédric Le Goater (9): aspeed/timer: Introduce an object class per SoC aspeed/timer: Add support for control register 3 aspeed/timer: Add support for AST2600 aspeed/timer: Add support for IRQ status register on the AST2600 aspeed/sdmc: Introduce an object class per SoC watchdog/aspeed: Introduce an object class per SoC aspeed/smc: Add support for the AST2600 SoC aspeed: add support for the AST2600 eval board aspeed: add support for the Aspeed MII controller of the AST2600 Joel Stanley (5): hw: aspeed_scu: Add AST2600 support aspeed/sdmc: Add AST2600 support hw: wdt_aspeed: Add AST2600 support aspeed: Parameterise number of MACs aspeed/soc: Add ASPEED Video stub Rashmica Gupta (1): hw/gpio: Add in AST2600 specific implementation include/hw/arm/aspeed_soc.h | 17 ++- include/hw/misc/aspeed_scu.h | 8 +- include/hw/misc/aspeed_sdmc.h | 20 ++- include/hw/net/ftgmac100.h | 17 +++ include/hw/ssi/aspeed_smc.h | 2 + include/hw/timer/aspeed_timer.h | 18 +++ include/hw/watchdog/wdt_aspeed.h | 19 ++- hw/arm/aspeed.c | 18 +++ hw/arm/aspeed_soc.c | 243 +++++++++++++++++++++++++++--- hw/gpio/aspeed_gpio.c | 142 +++++++++++++++++- hw/misc/aspeed_scu.c | 186 ++++++++++++++++++++++- hw/misc/aspeed_sdmc.c | 250 +++++++++++++++++++++++-------- hw/net/ftgmac100.c | 162 ++++++++++++++++++++ hw/ssi/aspeed_smc.c | 129 +++++++++++++++- hw/timer/aspeed_timer.c | 209 +++++++++++++++++++++++--- hw/watchdog/wdt_aspeed.c | 151 ++++++++++++------- 16 files changed, 1403 insertions(+), 188 deletions(-) -- 2.21.0