qemu-patch-raspberry4/hw/misc
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
..
macio Remove unneeded type casts 2013-04-19 11:36:33 +02:00
a9scu.c hw: move other devices to hw/misc/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
applesmc.c isa: Use realizefn for ISADevice 2013-06-07 12:14:45 +02:00
arm_l2x0.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
arm_sysctl.c hw: move other devices to hw/misc/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
cbus.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
debugexit.c isa: Use realizefn for ISADevice 2013-06-07 12:14:45 +02:00
eccmemctl.c hw: move other devices to hw/misc/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
exynos4210_pmu.c hw: move other devices to hw/misc/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
imx_ccm.c i.MX31: Fix PRCS bit test 2013-06-25 18:42:49 +01:00
ivshmem.c ivshmem: add missing error exit(2) 2013-06-12 13:17:53 +04:00
lm32_sys.c remove some double-includes 2013-05-18 16:35:12 +04:00
Makefile.objs introduce a new qom device to deal with panicked event 2013-04-30 10:30:01 -05:00
max111x.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
milkymist-hpdmc.c hw: move other devices to hw/misc/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
milkymist-pfpu.c Remove unneeded type casts 2013-04-19 11:36:33 +02:00
mst_fpga.c hw: move other devices to hw/misc/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
omap_clk.c hw: move other devices to hw/misc/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
omap_gpmc.c hw: move other devices to hw/misc/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
omap_l4.c hw: move other devices to hw/misc/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
omap_sdrc.c hw: move other devices to hw/misc/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
omap_tap.c hw: move other devices to hw/misc/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
pc-testdev.c isa: Use realizefn for ISADevice 2013-06-07 12:14:45 +02:00
pci-testdev.c pci: add pci test device 2013-04-16 01:41:53 +03:00
puv3_pm.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
pvpanic.c isa: Use realizefn for ISADevice 2013-06-07 12:14:45 +02:00
pxa2xx_pcmcia.c hw: move other devices to hw/misc/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
sga.c isa: Use realizefn for ISADevice 2013-06-07 12:14:45 +02:00
slavio_misc.c hw: move other devices to hw/misc/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
tmp105.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
tmp105.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
vfio.c vfio: abort if an emulated iommu is used 2013-06-20 16:32:47 +02:00
vmport.c isa: Use realizefn for ISADevice 2013-06-07 12:14:45 +02:00
zynq_slcr.c hw: move other devices to hw/misc/, configure with default-configs/ 2013-04-08 18:13:16 +02:00