diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2011-09-12 15:43:31 +0100 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-09-16 08:28:46 -0500 |
| commit | df3f457b4b3a910de575b39bfa11d9a41330077c (patch) | |
| tree | b215e0237dca73ed1a858e650bbbc24c91643f1d /hw/qdev.c | |
| parent | f44cc4852a04c0423780e115b935e201aaf3384e (diff) | |
| download | focaccia-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