Skip to content

Commit

Permalink
hw/arm_sysctl: Clear sysctl cfgctrl start bit
Browse files Browse the repository at this point in the history
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 <c.dall@virtualopensystems.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  • Loading branch information
Christoffer Dall authored and pm215 committed Jan 30, 2013
1 parent 0893d46 commit 706872a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/arm_sysctl.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 706872a

Please sign in to comment.