Skip to content

SSI QOM cleanups

Peter Crosthwaite qemu-devel 1 version Applied

Status from this message: Thanks, applied them to qom-next with the above changes:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6ssi: Convert legacy casts from SSI_SLAVE->DEVICEhw/arm/spitz.c hw/display/ads7846.c hw/display/ssd0323.c +2 more+11 -102 replies
2/6ssi: Remove legacy SSI_BUS->BUS casthw/ssi/ssi.c+2 -21 reply
3/6misc: max111x: Create abstract max111x classhw/misc/max111x.c+25 -80 replies
4/6misc: max111x: QOM casting sweephw/misc/max111x.c+6 -31 reply
5/6ssi: Remove SSI_SLAVE_FROM_QDEV macroinclude/hw/ssi.h+0 -10 replies
6/6block/m25p80: Remove FROM_SSI_SLAVE usageshw/block/m25p80.c+3 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH qom-next v1 0/6] SSI QOM cleanups

Hi Andreas,

Here is a mixed bag of QOM cleanups, moving us slightly closer to QOMification of SSI.

This prepares support for some major refactoring around SSI (in particular some QSPI patches).

Regards,
Peter

Peter Crosthwaite (6):
ssi: Convert legacy casts from SSI_SLAVE->DEVICE
ssi: Remove legacy SSI_BUS->BUS cast
misc: max111x: Create abstract max111x class
misc: max111x: QOM casting sweep
ssi: Remove SSI_SLAVE_FROM_QDEV macro block/m25p80: Remove FROM_SSI_SLAVE usages

 hw/arm/spitz.c       |  9 +++++----
 hw/block/m25p80.c    |  6 +++---
 hw/display/ads7846.c |  2 +-
 hw/display/ssd0323.c |  4 ++--
 hw/misc/max111x.c    | 46 +++++++++++++++++++++++++++++++++-------------
 hw/sd/ssi-sd.c       |  2 +-
 hw/ssi/ssi.c         |  4 ++--
 include/hw/ssi.h     |  1 -
 8 files changed, 47 insertions(+), 27 deletions(-)
Signature · 1 line
1.8.5.4