[PATCH v2 00/12] aspeed: SMC cleanups and QOMification

Cédric Le Goater posted 12 patches 2 years, 6 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210920162309.1091711-1-clg@kaod.org
include/hw/i2c/aspeed_i2c.h |    8 +-
include/hw/ssi/aspeed_smc.h |   82 ++-
hw/arm/aspeed.c             |   18 +-
hw/arm/aspeed_ast2600.c     |   11 +-
hw/arm/aspeed_soc.c         |    4 +-
hw/i2c/aspeed_i2c.c         |  101 +++-
hw/ssi/aspeed_smc.c         | 1128 ++++++++++++++++++++---------------
7 files changed, 791 insertions(+), 561 deletions(-)
[PATCH v2 00/12] aspeed: SMC cleanups and QOMification
Posted by Cédric Le Goater 2 years, 6 months ago
Hello,

It looks big but there are no major changes.

This series adds dummy support for the 2nd watchdog registers which
were moved under the AST2600 FMC controller to deactivate the
alternate boot function. Then come cleanups of the AspeedSMC model
mostly removing a useless AspeedSMCController structure (that's the
noisy part) and QOMifying the AspeedSMCFlash and AspeedI2CBus
structures.

Thanks,

C.

Changes in v2:

 - fixed ABR modeling 
 - rewrote some commit logs
 - use of g_autofree variables

Cédric Le Goater (12):
  aspeed/smc: Add watchdog Control/Status Registers
  aspeed/smc: Introduce aspeed_smc_error() helper
  aspeed/smc: Stop using the model name for the memory regions
  aspeed/smc: Drop AspeedSMCController structure
  aspeed/smc: Remove the 'flash' attribute from AspeedSMCFlash
  aspeed/smc: Remove the 'size' attribute from AspeedSMCFlash
  aspeed/smc: Rename AspeedSMCFlash 'id' to 'cs'
  aspeed/smc: QOMify AspeedSMCFlash
  aspeed/smc: Add default reset values
  aspeed/smc: Introduce a new addr_width() class handler
  aspeed/smc: Remove unused attribute 'irqline'
  aspeed/i2c: QOMify AspeedI2CBus

 include/hw/i2c/aspeed_i2c.h |    8 +-
 include/hw/ssi/aspeed_smc.h |   82 ++-
 hw/arm/aspeed.c             |   18 +-
 hw/arm/aspeed_ast2600.c     |   11 +-
 hw/arm/aspeed_soc.c         |    4 +-
 hw/i2c/aspeed_i2c.c         |  101 +++-
 hw/ssi/aspeed_smc.c         | 1128 ++++++++++++++++++++---------------
 7 files changed, 791 insertions(+), 561 deletions(-)

-- 
2.31.1