diff options
author | Christoffer Dall | 2013-01-30 16:39:01 +0100 |
---|---|---|
committer | Peter Maydell | 2013-01-30 16:39:01 +0100 |
commit | 706872a56630a206897742b70c69ff99727672d3 (patch) | |
tree | 5d3aee604082f8318dbb847b87928d55131ebdb4 /hw/arm_sysctl.c | |
parent | Merge remote-tracking branch 'qemu-kvm/uq/master' into staging (diff) | |
download | qemu-706872a56630a206897742b70c69ff99727672d3.tar.gz qemu-706872a56630a206897742b70c69ff99727672d3.tar.xz qemu-706872a56630a206897742b70c69ff99727672d3.zip |
hw/arm_sysctl: Clear sysctl cfgctrl start bit
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>
Diffstat (limited to 'hw/arm_sysctl.c')
-rw-r--r-- | hw/arm_sysctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/arm_sysctl.c b/hw/arm_sysctl.c index da36f8a435..7ecb7da54b 100644 --- a/hw/arm_sysctl.c +++ b/hw/arm_sysctl.c @@ -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) { |