]> git.sur5r.net Git - openocd/commitdiff
fix detection of PLD instructions
authorLennert Buytenhek <buytenh@wantstofly.org>
Tue, 13 Oct 2009 20:48:18 +0000 (22:48 +0200)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 13 Oct 2009 22:35:01 +0000 (15:35 -0700)
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/arm_disassembler.c

index 2755cc292f236c212cbf0da52160a44f79b4b1c6..5b0046b7def80d1abc5cdd4840ff8af3b61c7a3b 100644 (file)
@@ -110,7 +110,7 @@ static int evaluate_pld(uint32_t opcode,
                uint32_t address, arm_instruction_t *instruction)
 {
        /* PLD */
-       if ((opcode & 0x0d70f0000) == 0x0550f000)
+       if ((opcode & 0x0d70f000) == 0x0550f000)
        {
                instruction->type = ARM_PLD;