]> Git Repo - qemu.git/commitdiff
hw/arm_sysctl: Clear sysctl cfgctrl start bit
authorChristoffer Dall <[email protected]>
Wed, 30 Jan 2013 15:39:01 +0000 (15:39 +0000)
committerPeter Maydell <[email protected]>
Wed, 30 Jan 2013 15:39:01 +0000 (15:39 +0000)
The start bit should only be set to indicate that a function call is
underway, right now.  When done with function, clear it.

Signed-off-by: Christoffer Dall <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
hw/arm_sysctl.c

index da36f8a4357c2f79c7744dc8871ec229aac3877b..7ecb7da54b1e28ad9b59127e1e7f326534476e30 100644 (file)
@@ -334,6 +334,7 @@ static void arm_sysctl_write(void *opaque, hwaddr offset,
         default:
             s->sys_cfgstat |= 2;        /* error */
         }
+        s->sys_cfgctrl &= ~(1 << 31);
         return;
     case 0xa8: /* SYS_CFGSTAT */
         if (board_id(s) != BOARD_ID_VEXPRESS) {
This page took 0.028482 seconds and 4 git commands to generate.