diff options
author | Paul Brook <paul@codesourcery.com> | 2009-11-11 19:59:29 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-11-11 19:59:29 +0000 |
commit | be0f204aa0d8743f0627cd3cffb0ffc5bbf962e9 (patch) | |
tree | 78f9e202cea9d82873866424040a663537626665 /hw/arm_boot.c | |
parent | 97fe84f5efbd4f3ded433b7da5daca1f8fd5a82f (diff) |
Fix ARM MCore secondary cpu boot
Make MPCore secondary cpu initialization work with the new reset
handling. Also change the inital FLAG value from 3 to zero to match
recent kenrels.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/arm_boot.c')
-rw-r--r-- | hw/arm_boot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/arm_boot.c b/hw/arm_boot.c index 28e9dbd607..e273803645 100644 --- a/hw/arm_boot.c +++ b/hw/arm_boot.c @@ -39,8 +39,8 @@ static uint32_t smpboot[] = { 0xe3800030, /* orr r0, #0x30 */ 0xe320f003, /* wfi */ 0xe5901000, /* ldr r1, [r0] */ - 0xe3110003, /* tst r1, #3 */ - 0x1afffffb, /* bne <wfi> */ + 0xe1110001, /* tst r1, r1 */ + 0x0afffffb, /* beq <wfi> */ 0xe12fff11 /* bx r1 */ }; |