Skip to content

hw/arm: QOM OBJECT_DECLARE_SIMPLE_TYPE cleanups

Philippe Mathieu-Daudé qemu-arm qemu-devel 1 version Applied

Status from this message: Applied to target-arm.next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/14hw/arm/pxa: Avoid forward-declaring PXA2xxI2CStateinclude/hw/arm/pxa.h+3 -30 replies
2/14hw/gpio/omap_gpio: Add local variable to avoid embedded casthw/gpio/omap_gpio.c+2 -10 replies
3/14hw/arm/omap: Drop useless casts from void * to pointerhw/arm/omap1.c hw/arm/omap2.c hw/arm/omap_sx1.c +15 more+142 -1630 replies
4/14hw/gpio/omap_gpio: Use CamelCase for TYPE_OMAP1_GPIO type namehw/gpio/omap_gpio.c include/hw/arm/omap.h+11 -110 replies
5/14hw/gpio/omap_gpio: Use CamelCase for TYPE_OMAP2_GPIO type namehw/gpio/omap_gpio.c include/hw/arm/omap.h+14 -150 replies
6/14hw/intc/omap_intc: Use CamelCase for TYPE_OMAP_INTC type namehw/intc/omap_intc.c include/hw/arm/omap.h+23 -240 replies
7/14hw/arm/stellaris: Drop useless casts from void * to pointerhw/arm/stellaris.c+3 -30 replies
8/14hw/arm/stellaris: Use CamelCase for STELLARIS_ADC type namehw/arm/stellaris.c+36 -370 replies
9/14hw/arm/bcm2836: Remove definitions generated by OBJECT_DECLARE_TYPE()hw/arm/bcm2836.c+2 -70 replies
10/14hw/arm/npcm7xx: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE()include/hw/adc/npcm7xx_adc.h include/hw/arm/npcm7xx.h include/hw/i2c/npcm7xx_smbus.h +7 more+26 -390 replies
11/14hw/misc/sbsa_ec: Rename TYPE_SBSA_EC -> TYPE_SBSA_SECURE_EChw/misc/sbsa_ec.c+7 -60 replies
12/14hw/misc/sbsa_ec: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE()hw/misc/sbsa_ec.c+1 -20 replies
13/14hw/intc/xilinx_intc: Use 'XpsIntc' typedef instead of 'struct xlx_pic'hw/intc/xilinx_intc.c+13 -151 reply
14/14hw/timer/xilinx_timer: Use XpsTimerState instead of 'struct timerblock'hw/timer/xilinx_timer.c+13 -141 reply

Reviews trailers per patch

2 of 14 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRichard HendersonEdgar E. Iglesias
SeriesR-b
1/14
2/14
3/14
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14
13/14R-b
14/14R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/14] hw/arm: QOM OBJECT_DECLARE_SIMPLE_TYPE cleanups

These patches certainly look as churn, but they are required to be able to update the OBJECT_DECLARE_SIMPLE_TYPE() macro...

Except the OMAP related files, the rest seems to have been merged shortly after automatic script conversion from commit 8063396bf3 ("Use OBJECT_DECLARE_SIMPLE_TYPE when possible") was run, so missed the QOM cleanup.

So here we go with yet another boring cleanup series.

Philippe Mathieu-Daudé (14):
hw/arm/pxa: Avoid forward-declaring PXA2xxI2CState hw/gpio/omap_gpio: Add local variable to avoid embedded cast hw/arm/omap: Drop useless casts from void * to pointer hw/gpio/omap_gpio: Use CamelCase for TYPE_OMAP1_GPIO type name hw/gpio/omap_gpio: Use CamelCase for TYPE_OMAP2_GPIO type name hw/intc/omap_intc: Use CamelCase for TYPE_OMAP_INTC type name hw/arm/stellaris: Drop useless casts from void * to pointer hw/arm/stellaris: Use CamelCase for STELLARIS_ADC type name hw/arm/bcm2836: Remove definitions generated by OBJECT_DECLARE_TYPE() hw/arm/npcm7xx: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE() hw/misc/sbsa_ec: Rename TYPE_SBSA_EC -> TYPE_SBSA_SECURE_EC hw/misc/sbsa_ec: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE() hw/intc/xilinx_intc: Use 'XpsIntc' typedef instead of 'struct xlx_pic' hw/timer/xilinx_timer: Use XpsTimerState instead of 'struct
timerblock'

 hw/arm/bcm2836.c               |   9 +--
 hw/arm/omap1.c                 | 115 ++++++++++++++++-----------------
 hw/arm/omap2.c                 |  40 ++++++------
 hw/arm/omap_sx1.c              |   2 +-
 hw/arm/palm.c                  |   2 +-
 hw/arm/stellaris.c             |  73 +++++++++++----------
 hw/char/omap_uart.c            |   7 +-
 hw/display/omap_dss.c          |  15 ++---
 hw/display/omap_lcdc.c         |   9 ++-
 hw/dma/omap_dma.c              |  15 ++---
 hw/gpio/omap_gpio.c            |  48 +++++++-------
 hw/intc/omap_intc.c            |  38 +++++------
 hw/intc/xilinx_intc.c          |  28 ++++----
 hw/misc/omap_gpmc.c            |  12 ++--
 hw/misc/omap_l4.c              |   7 +-
 hw/misc/omap_sdrc.c            |   7 +-
 hw/misc/omap_tap.c             |   5 +-
 hw/misc/sbsa_ec.c              |  12 ++--
 hw/sd/omap_mmc.c               |   9 ++-
 hw/ssi/omap_spi.c              |   7 +-
 hw/timer/omap_gptimer.c        |  22 +++----
 hw/timer/omap_synctimer.c      |   4 +-
 hw/timer/xilinx_timer.c        |  27 ++++----
 include/hw/adc/npcm7xx_adc.h   |   7 +-
 include/hw/arm/npcm7xx.h       |  18 ++----
 include/hw/arm/omap.h          |  24 ++++---
 include/hw/arm/pxa.h           |   6 +-
 include/hw/i2c/npcm7xx_smbus.h |   7 +-
 include/hw/misc/npcm7xx_clk.h  |   2 +-
 include/hw/misc/npcm7xx_gcr.h  |   6 +-
 include/hw/misc/npcm7xx_mft.h  |   7 +-
 include/hw/misc/npcm7xx_pwm.h  |   3 +-
 include/hw/misc/npcm7xx_rng.h  |   6 +-
 include/hw/net/npcm7xx_emc.h   |   5 +-
 include/hw/sd/npcm7xx_sdhci.h  |   4 +-
 35 files changed, 282 insertions(+), 326 deletions(-)
Signature · 1 line
2.38.1