diff options
author | Stefan Weil <sw@weilnetz.de> | 2013-06-09 22:44:22 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2013-06-25 18:42:49 +0100 |
commit | f3c8fac25f119641fd30f2014bfd368a0023769e (patch) | |
tree | 3b34f5ee9d7afba4a5738a576f4de89a0284fef4 /hw/watchdog | |
parent | c23045ded7571f0eaad95920ab00b6bc9c3a91e6 (diff) | |
download | qemu-f3c8fac25f119641fd30f2014bfd368a0023769e.tar.gz qemu-f3c8fac25f119641fd30f2014bfd368a0023769e.tar.bz2 qemu-f3c8fac25f119641fd30f2014bfd368a0023769e.zip |
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>
Diffstat (limited to 'hw/watchdog')
0 files changed, 0 insertions, 0 deletions