arm: vexpress: Clear sysctl cfgctrl start bit
PATCH 1/1 arm: vexpress: 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.
Cc Peter Maydell <[email protected]>
Signed-off-by Christoffer Dall <[email protected]>
--- hw/arm_sysctl.c | 1 + 1 file changed, 1 insertion(+)
hw/arm_sysctl.c +1 -0
@@ -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 ) {
Signature · 1 line
1.7.9.5
Quoted 2 lines · Christoffer Dall
The start bit should only be set to indicate that a function call is underway, right now. When done with function, clear it.
Looks plausible but I'd like a crosscheck that this is how the hardware really behaves.
-- PMM
Quoted 8 lines · Peter Maydell
Quoted 2 lines · Christoffer Dall
The start bit should only be set to indicate that a function call is underway, right now. When done with function, clear it.
Looks plausible but I'd like a crosscheck that this is how the hardware really behaves.
sure, on my vexpress box that's certainly the case by experimentation though.
-Christoffer