« Previous | Next » 

Revision df3f457b

IDdf3f457b4b3a910de575b39bfa11d9a41330077c

Added by Peter Maydell over 12 years ago

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 <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences