qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] arm: vexpress: Clear sysctl cfgctrl start bit


From: Christoffer Dall
Subject: [Qemu-devel] [PATCH] arm: vexpress: Clear sysctl cfgctrl start bit
Date: Sat, 22 Dec 2012 14:03:13 -0500

The start bit should only be set to indicate that a function call is
underway, right now.  When done with function, clear it.

Cc: Peter Maydell <address@hidden>
Signed-off-by: Christoffer Dall <address@hidden>
---
 hw/arm_sysctl.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/arm_sysctl.c b/hw/arm_sysctl.c
index 58eb982..12a62fe 100644
--- a/hw/arm_sysctl.c
+++ b/hw/arm_sysctl.c
@@ -332,6 +332,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) {
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]