sdk/emulator/qemu.git
11 years agocadence_gem: QOM cast cleanup
Andreas Färber [Sat, 27 Jul 2013 09:39:47 +0000 (11:39 +0200)]
cadence_gem: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agozynq_slcr: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 21:29:03 +0000 (23:29 +0200)]
zynq_slcr: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoslavio_misc: QOM cast cleanup for APCState
Andreas Färber [Fri, 26 Jul 2013 21:21:50 +0000 (23:21 +0200)]
slavio_misc: QOM cast cleanup for APCState

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoslavio_misc: QOM cast cleanup for MiscState
Andreas Färber [Fri, 26 Jul 2013 21:19:11 +0000 (23:19 +0200)]
slavio_misc: QOM cast cleanup for MiscState

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopuv3_pm: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 21:16:03 +0000 (23:16 +0200)]
puv3_pm: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agomst_fpga: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 20:32:18 +0000 (22:32 +0200)]
mst_fpga: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agomilkymist-pfpu: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 20:27:57 +0000 (22:27 +0200)]
milkymist-pfpu: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agomilkymist-hpdmc: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 20:24:22 +0000 (22:24 +0200)]
milkymist-hpdmc: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agolm32_sys: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 19:59:04 +0000 (21:59 +0200)]
lm32_sys: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoexynos4210_pmu: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 19:47:58 +0000 (21:47 +0200)]
exynos4210_pmu: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoeccmemctl: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 19:39:54 +0000 (21:39 +0200)]
eccmemctl: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoarm_sysctl: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 19:34:18 +0000 (21:34 +0200)]
arm_sysctl: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoarm_l2x0: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 19:20:52 +0000 (21:20 +0200)]
arm_l2x0: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoarm_l2x0: Rename l2x0_state to L2x0State
Andreas Färber [Fri, 26 Jul 2013 19:18:35 +0000 (21:18 +0200)]
arm_l2x0: Rename l2x0_state to L2x0State

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoxilinx_intc: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 18:46:22 +0000 (20:46 +0200)]
xilinx_intc: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoslavio_intctl: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 18:40:40 +0000 (20:40 +0200)]
slavio_intctl: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agorealview_gic: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 18:34:29 +0000 (20:34 +0200)]
realview_gic: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopuv3_intc: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 18:30:57 +0000 (20:30 +0200)]
puv3_intc: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopl190: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 18:23:57 +0000 (20:23 +0200)]
pl190: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopl190: Rename pl190_state to PL190State
Andreas Färber [Fri, 26 Jul 2013 18:18:42 +0000 (20:18 +0200)]
pl190: Rename pl190_state to PL190State

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoomap_intc: QOM'ify omap-intc and omap2-intc
Andreas Färber [Fri, 26 Jul 2013 18:14:20 +0000 (20:14 +0200)]
omap_intc: QOM'ify omap-intc and omap2-intc

Create a new abstract base type and let omap-intc and omap2-intc inherit
from it. Introduce a type constant and use QOM casts.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agolm32_pic: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 17:53:49 +0000 (19:53 +0200)]
lm32_pic: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agogrlib_irqmp: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 17:26:18 +0000 (19:26 +0200)]
grlib_irqmp: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoexynos4210_gic: QOM cast cleanup for exynos4210.irq_gate
Andreas Färber [Fri, 26 Jul 2013 17:19:19 +0000 (19:19 +0200)]
exynos4210_gic: QOM cast cleanup for exynos4210.irq_gate

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoexynos4210_gic: QOM cast cleanup for exynos4210.gic
Andreas Färber [Fri, 26 Jul 2013 17:16:20 +0000 (19:16 +0200)]
exynos4210_gic: QOM cast cleanup for exynos4210.gic

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoexynos4210_combiner: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 17:11:37 +0000 (19:11 +0200)]
exynos4210_combiner: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoetraxfs_pic: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 17:05:58 +0000 (19:05 +0200)]
etraxfs_pic: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoarm_gic: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 16:57:48 +0000 (18:57 +0200)]
arm_gic: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopl050: QOM'ify pl050_keyboard and pl050_mouse
Andreas Färber [Fri, 26 Jul 2013 16:49:24 +0000 (18:49 +0200)]
pl050: QOM'ify pl050_keyboard and pl050_mouse

Introduce an abstract type pl050 and let pl050_keyboar and pl050_mouse
inherit from it, using different instance_init functions.
Introduce a type constant and use QOM casts.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopl050: Rename pl050_state to PL050State
Andreas Färber [Fri, 26 Jul 2013 16:40:25 +0000 (18:40 +0200)]
pl050: Rename pl050_state to PL050State

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agomilkymist-softusb: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 16:37:02 +0000 (18:37 +0200)]
milkymist-softusb: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoversatile_i2c: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 16:28:26 +0000 (18:28 +0200)]
versatile_i2c: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoomap_i2c: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 16:24:27 +0000 (18:24 +0200)]
omap_i2c: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agobitbang_i2c: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 16:13:46 +0000 (18:13 +0200)]
bitbang_i2c: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agogpio/zaurus: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 15:41:16 +0000 (17:41 +0200)]
gpio/zaurus: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopuv3_gpio: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 15:37:37 +0000 (17:37 +0200)]
puv3_gpio: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopl061: QOM'ify pl061 and pl061_luminary
Andreas Färber [Fri, 26 Jul 2013 15:31:46 +0000 (17:31 +0200)]
pl061: QOM'ify pl061 and pl061_luminary

Let pl061_luminary inherit from pl061, with differing instance_init.
Introduce type constant and use QOM casts.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopl061: Rename pl061_state to PL061State
Andreas Färber [Fri, 26 Jul 2013 15:21:21 +0000 (17:21 +0200)]
pl061: Rename pl061_state to PL061State

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoomap_gpio: QOM cast cleanup for omap2_gpif_s
Andreas Färber [Fri, 26 Jul 2013 15:19:36 +0000 (17:19 +0200)]
omap_gpio: QOM cast cleanup for omap2_gpif_s

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoomap_gpio: QOM cast cleanup for omap_gpif_s
Andreas Färber [Fri, 26 Jul 2013 15:14:40 +0000 (17:14 +0200)]
omap_gpio: QOM cast cleanup for omap_gpif_s

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agosun4m_iommu: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 14:58:49 +0000 (16:58 +0200)]
sun4m_iommu: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agosparc32_dma: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 14:55:59 +0000 (16:55 +0200)]
sparc32_dma: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopxa2xx_dma: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 14:43:17 +0000 (16:43 +0200)]
pxa2xx_dma: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopuv3_dma: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 14:04:39 +0000 (16:04 +0200)]
puv3_dma: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopl080: QOM'ify pl080 and pl081
Andreas Färber [Fri, 26 Jul 2013 10:47:17 +0000 (12:47 +0200)]
pl080: QOM'ify pl080 and pl081

Let pl081 inherit from pl080 and replace triple SysBus initfn with two
instance_inits.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopl080: Rename pl080_state to PL080State
Andreas Färber [Fri, 26 Jul 2013 10:37:06 +0000 (12:37 +0200)]
pl080: Rename pl080_state to PL080State

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoempty_slot: QOM cast cleanup
Andreas Färber [Wed, 24 Jul 2013 21:48:30 +0000 (23:48 +0200)]
empty_slot: QOM cast cleanup

Introduce type constant and use QOM casts.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopl011: QOM'ify pl011 and pl011_luminary
Andreas Färber [Wed, 24 Jul 2013 21:29:17 +0000 (23:29 +0200)]
pl011: QOM'ify pl011 and pl011_luminary

Let the Luminary variant inherit from the ARM one, overwriting its ID on
instance_init. Introduce type constant and use QOM casts. Replace
triplicated SysBusDevice initfn with QOM realizefn and instance_init.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopl011: Rename pl011_state
Andreas Färber [Wed, 24 Jul 2013 21:13:57 +0000 (23:13 +0200)]
pl011: Rename pl011_state

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agomilkymist-uart: QOM cast cleanup
Andreas Färber [Wed, 24 Jul 2013 21:08:14 +0000 (23:08 +0200)]
milkymist-uart: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agolm32_uart: QOM cast cleanup
Andreas Färber [Wed, 24 Jul 2013 20:59:55 +0000 (22:59 +0200)]
lm32_uart: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agolm32_juart: QOM cast cleanup
Andreas Färber [Wed, 24 Jul 2013 20:56:36 +0000 (22:56 +0200)]
lm32_juart: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agolm32_juart: Relocate and tidy header
Andreas Färber [Wed, 24 Jul 2013 20:49:02 +0000 (22:49 +0200)]
lm32_juart: Relocate and tidy header

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoimx_serial: QOM cast cleanup
Andreas Färber [Wed, 24 Jul 2013 20:43:22 +0000 (22:43 +0200)]
imx_serial: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agogrlib_apbuart: QOM cast cleanup
Andreas Färber [Wed, 24 Jul 2013 20:38:10 +0000 (22:38 +0200)]
grlib_apbuart: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoexynos4210_uart: QOM cast cleanup
Andreas Färber [Wed, 24 Jul 2013 20:21:05 +0000 (22:21 +0200)]
exynos4210_uart: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoescc: QOM cast cleanup
Andreas Färber [Wed, 24 Jul 2013 19:30:40 +0000 (21:30 +0200)]
escc: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agocadence_uart: QOM cast cleanup
Andreas Färber [Wed, 24 Jul 2013 19:23:29 +0000 (21:23 +0200)]
cadence_uart: QOM cast cleanup

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoversatilepb: QOM cast cleanup for vpb_sic_state
Andreas Färber [Wed, 24 Jul 2013 07:37:20 +0000 (09:37 +0200)]
versatilepb: QOM cast cleanup for vpb_sic_state

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agostrongarm: QOM cast cleanup for StrongARMSSPState
Andreas Färber [Wed, 24 Jul 2013 07:32:06 +0000 (09:32 +0200)]
strongarm: QOM cast cleanup for StrongARMSSPState

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agostrongarm: QOM cast cleanup for StrongARMUARTState
Andreas Färber [Wed, 24 Jul 2013 07:29:14 +0000 (09:29 +0200)]
strongarm: QOM cast cleanup for StrongARMUARTState

Introduce a type constant, use QOM casts and rename the parent field.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agostrongarm: QOM cast cleanup for StrongARMPPCInfo
Andreas Färber [Wed, 24 Jul 2013 07:26:04 +0000 (09:26 +0200)]
strongarm: QOM cast cleanup for StrongARMPPCInfo

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agostrongarm: QOM cast cleanup for StrongARMGPIOInfo
Andreas Färber [Wed, 24 Jul 2013 07:23:14 +0000 (09:23 +0200)]
strongarm: QOM cast cleanup for StrongARMGPIOInfo

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agostrongarm: QOM cast cleanup for StrongARMRTCState
Andreas Färber [Wed, 24 Jul 2013 07:20:15 +0000 (09:20 +0200)]
strongarm: QOM cast cleanup for StrongARMRTCState

Introduce a type constant, use QOM casts and rename the parent field.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agostrongarm: QOM cast cleanup for StrongARMPICState
Andreas Färber [Wed, 24 Jul 2013 07:17:13 +0000 (09:17 +0200)]
strongarm: QOM cast cleanup for StrongARMPICState

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agostellaris: QOM cast cleanup for stellaris_adc_state
Andreas Färber [Wed, 24 Jul 2013 07:13:06 +0000 (09:13 +0200)]
stellaris: QOM cast cleanup for stellaris_adc_state

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agostellaris: QOM cast cleanup for stellaris_i2c_state
Andreas Färber [Wed, 24 Jul 2013 07:08:23 +0000 (09:08 +0200)]
stellaris: QOM cast cleanup for stellaris_i2c_state

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agostellaris: QOM cast cleanup for gptm_state
Andreas Färber [Wed, 24 Jul 2013 07:03:33 +0000 (09:03 +0200)]
stellaris: QOM cast cleanup for gptm_state

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agospitz: QOM cast cleanup for SpitzKeyboardState
Andreas Färber [Wed, 24 Jul 2013 06:58:32 +0000 (08:58 +0200)]
spitz: QOM cast cleanup for SpitzKeyboardState

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agospitz: QOM cast cleanup for SLNANDState
Andreas Färber [Wed, 24 Jul 2013 06:54:33 +0000 (08:54 +0200)]
spitz: QOM cast cleanup for SLNANDState

Introduce a type constant, use QOM casts and rename the parent field.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopxa2xx_pic: QOM cast cleanup for PXA2xxPICState
Andreas Färber [Wed, 24 Jul 2013 00:08:09 +0000 (02:08 +0200)]
pxa2xx_pic: QOM cast cleanup for PXA2xxPICState

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopxa2xx_gpio: QOM cast cleanup for PXA2xxGPIOInfo
Andreas Färber [Wed, 24 Jul 2013 00:03:39 +0000 (02:03 +0200)]
pxa2xx_gpio: QOM cast cleanup for PXA2xxGPIOInfo

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopxa2xx: QOM cast cleanup for PXA2xxI2CState
Andreas Färber [Tue, 23 Jul 2013 23:56:59 +0000 (01:56 +0200)]
pxa2xx: QOM cast cleanup for PXA2xxI2CState

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopxa2xx: QOM cast cleanup for PXA2xxRTCState
Andreas Färber [Tue, 23 Jul 2013 23:50:26 +0000 (01:50 +0200)]
pxa2xx: QOM cast cleanup for PXA2xxRTCState

Introduce a type constant, use QOM casts and rename the parent field.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopxa2xx: QOM cast cleanup for PXA2xxSSPState
Andreas Färber [Tue, 23 Jul 2013 23:45:10 +0000 (01:45 +0200)]
pxa2xx: QOM cast cleanup for PXA2xxSSPState

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agomusicpal: QOM cast cleanup for musicpal_key_state
Andreas Färber [Tue, 23 Jul 2013 23:38:59 +0000 (01:38 +0200)]
musicpal: QOM cast cleanup for musicpal_key_state

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agomusicpal: QOM cast cleanup for musicpal_gpio_state
Andreas Färber [Tue, 23 Jul 2013 23:36:24 +0000 (01:36 +0200)]
musicpal: QOM cast cleanup for musicpal_gpio_state

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agomusicpal: QOM cast cleanup for mv88w8618_flashcfg
Andreas Färber [Tue, 23 Jul 2013 23:32:00 +0000 (01:32 +0200)]
musicpal: QOM cast cleanup for mv88w8618_flashcfg

Introduce a type constant, use QOM casts and rename the parent field.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agomusicpal: QOM cast cleanup for mv88w8618_pit_state
Andreas Färber [Tue, 23 Jul 2013 23:27:32 +0000 (01:27 +0200)]
musicpal: QOM cast cleanup for mv88w8618_pit_state

Introduce a type constant, use QOM casts and rename the parent field.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agomusicpal: QOM cast cleanup mv88w8618_pic_state
Andreas Färber [Tue, 23 Jul 2013 23:22:07 +0000 (01:22 +0200)]
musicpal: QOM cast cleanup mv88w8618_pic_state

Introduce a type constant, use QOM casts and rename the parent field.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agomusicpal: QOM cast cleanup for musicpal_lcd_state
Andreas Färber [Tue, 23 Jul 2013 23:16:13 +0000 (01:16 +0200)]
musicpal: QOM cast cleanup for musicpal_lcd_state

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agomusicpal: QOM cast cleanup for mv88w8618_eth_state
Andreas Färber [Tue, 23 Jul 2013 23:12:52 +0000 (01:12 +0200)]
musicpal: QOM cast cleanup for mv88w8618_eth_state

Introduce type constant and use QOM casts.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agomusicpal: Fix typo in name of local function
Stefan Weil [Sun, 28 Jul 2013 05:54:55 +0000 (07:54 +0200)]
musicpal: Fix typo in name of local function

The misspelling was spotted by Andreas Färber.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agointegratorcp: QOM cast cleanup for icp_pic_state
Andreas Färber [Tue, 23 Jul 2013 23:08:01 +0000 (01:08 +0200)]
integratorcp: QOM cast cleanup for icp_pic_state

Introduce type constant and use QOM cast.
Fix indentation.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agointegratorcp: QOM cast cleanup for integratorcm_state
Andreas Färber [Tue, 23 Jul 2013 23:00:27 +0000 (01:00 +0200)]
integratorcp: QOM cast cleanup for integratorcm_state

Rename to IntegratorCMState, introduce type constant and use QOM cast.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agohighbank: QOM cast cleanup for HighbankRegsState
Andreas Färber [Tue, 23 Jul 2013 22:52:40 +0000 (00:52 +0200)]
highbank: QOM cast cleanup for HighbankRegsState

Add type constant and use QOM casts.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoarmv7m: QOM cast cleanup for BitBandState
Andreas Färber [Tue, 23 Jul 2013 22:46:43 +0000 (00:46 +0200)]
armv7m: QOM cast cleanup for BitBandState

Introduce TYPE_* constant and use QOM cast.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoimx_ccm: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 19:50:54 +0000 (21:50 +0200)]
imx_ccm: QOM cast cleanup

Introduce type constant and use QOM casts.

Acked-by: Peter Chubb <peter.chubb@nicta.com.au>
Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoimx_avic: QOM cast cleanup
Andreas Färber [Fri, 26 Jul 2013 17:31:08 +0000 (19:31 +0200)]
imx_avic: QOM cast cleanup

Introduce type constant, use QOM casts and prepare SysBus initfn for QOM
realize by resolving SysBusDevice vs. DeviceState "dev" name conflict.

Acked-by: Peter Chubb <peter.chubb@nicta.com.au>
Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agotcx: QOM cast cleanup
Andreas Färber [Wed, 24 Jul 2013 23:13:54 +0000 (01:13 +0200)]
tcx: QOM cast cleanup

Introduce a type constant, use QOM casts and rename the parent field.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopl110: QOM'ify pl110, pl110_versatile and pl111
Andreas Färber [Wed, 24 Jul 2013 23:09:03 +0000 (01:09 +0200)]
pl110: QOM'ify pl110, pl110_versatile and pl111

Let pl110_versatile and pl111 inherit from pl110 and use PL110() cast;
set their version index in an instance_init.

Reviewed-by: Hu Tao <hutao@cn.fujitsu.com>
[AF: Set version PL110 explicitly, suggested by Hu Tao; fixed inheritence]
Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopl110: Rename pl110_state to PL110State
Andreas Färber [Wed, 24 Jul 2013 22:57:23 +0000 (00:57 +0200)]
pl110: Rename pl110_state to PL110State

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agomilkymist-vgafb: QOM cast cleanup
Andreas Färber [Wed, 24 Jul 2013 22:53:39 +0000 (00:53 +0200)]
milkymist-vgafb: QOM cast cleanup

Introduce a type constant, use QOM casts and rename the parent field.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agomilkymist-tmu2: QOM cast cleanup
Andreas Färber [Wed, 24 Jul 2013 22:48:23 +0000 (00:48 +0200)]
milkymist-tmu2: QOM cast cleanup

Introduce a type constant, use QOM casts and rename the parent field.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agojazz_led: QOM cast cleanup
Andreas Färber [Wed, 24 Jul 2013 22:35:51 +0000 (00:35 +0200)]
jazz_led: QOM cast cleanup

Introduce a type constant, use QOM casts and rename the parent field.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agog364fb: QOM cast cleanup
Andreas Färber [Wed, 24 Jul 2013 22:30:30 +0000 (00:30 +0200)]
g364fb: QOM cast cleanup

Introduce a type constant, use QOM casts and rename the parent field and
prepare for QOM realize.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoexynos4210_fimd: QOM cast cleanup
Andreas Färber [Wed, 24 Jul 2013 22:24:50 +0000 (00:24 +0200)]
exynos4210_fimd: QOM cast cleanup

Introduce a type constant, use QOM casts and rename the parent field.

Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agoonenand: QOM cast cleanup
Andreas Färber [Wed, 24 Jul 2013 08:44:48 +0000 (10:44 +0200)]
onenand: QOM cast cleanup

Introduce a type constant, use QOM casts and rename the parent field and
prepare for QOM realize.

Reviewed-by: Hu Tao <hutao@cn.fujitsu.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopl041: QOM cast cleanup
Andreas Färber [Wed, 24 Jul 2013 08:19:32 +0000 (10:19 +0200)]
pl041: QOM cast cleanup

Introduce a type constant, use QOM casts and rename the parent field.

Reviewed-by: Hu Tao <hutao@cn.fujitsu.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
11 years agopl041: Rename pl041_state to PL041State
Andreas Färber [Sat, 27 Jul 2013 17:45:52 +0000 (19:45 +0200)]
pl041: Rename pl041_state to PL041State

Reviewed-by: Hu Tao <hutao@cn.fujitsu.com>
[AF: Split off renaming from QOM cast changes]
Signed-off-by: Andreas Färber <afaerber@suse.de>