Peter Maydell
d56b0b85c8
hw/misc/imx_ccm.c: Add missing VMState list terminator
...
The VMStateDescription for the imx_ccm device was missing its
terminator. Found by static search of the codebase using
a regex based on one suggested by Ian Jackson:
pcregrep -rMi '(?s)VMStateField(?:(?!END_OF_LIST).)*?;' $(git grep -l 'VMStateField\[\]')
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
Cc: qemu-stable@nongnu.org
(cherry picked from commit ef493d5c29
)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com >
2014-08-06 14:55:49 -05:00
Andreas Färber
bcb34c7a61
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 >
2013-07-29 21:06:05 +02:00
Paolo Bonzini
3c16154210
hw/m*: pass owner to memory_region_init* functions
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-07-04 17:42:48 +02:00
Paolo Bonzini
2c9b15cab1
memory: add owner argument to initialization functions
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-07-04 17:42:44 +02:00
Stefan Weil
f3c8fac25f
i.MX31: Fix PRCS bit test
...
cppcheck detected a condition which was always false.
According to the MCIMX31 Reference Manual, the PRCS bits have to be 01
to select the Frequency Pre-Multiplier (FPM). PRCS uses bits 1 and 2,
so we have to test for 2.
Signed-off-by: Stefan Weil <sw@weilnetz.de >
Signed-off-by: Peter Chubb <peter.chubb@nicta.com.au >
Message-id: 1370810662-32320-1-git-send-email-sw@weilnetz.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2013-06-25 18:42:49 +01:00
Paolo Bonzini
e28bee8ee6
hw: move other devices to hw/misc/, configure with default-configs/
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-04-08 18:13:16 +02:00