summary refs log tree commit diff stats
path: root/hw/qdev.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-09-12 15:43:31 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2011-09-16 08:28:46 -0500
commitdf3f457b4b3a910de575b39bfa11d9a41330077c (patch)
treeb215e0237dca73ed1a858e650bbbc24c91643f1d /hw/qdev.c
parentf44cc4852a04c0423780e115b935e201aaf3384e (diff)
downloadfocaccia-qemu-df3f457b4b3a910de575b39bfa11d9a41330077c.tar.gz
focaccia-qemu-df3f457b4b3a910de575b39bfa11d9a41330077c.zip
hw/integratorcp: Fix bugs in writes to CM_CTRL system register
Fix a number of bugs in the implementation of writes to the CM_CTRL
system register:
 * write to cm_ctrl, not cm_init !
 * an '&' vs '^' typo meant we would write the inverse of the bits
 * handling the LED via printf() meant we spew lots of output
   to stdout when Linux uses the LED as a heartbeat indicator
 * we would hw_error() if a reset was requested rather than
   actually resetting

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/qdev.c')
0 files changed, 0 insertions, 0 deletions