ARM: remove mrc_opcode(), use MRC() or MCR()
commit7b0314c377cc7c6a90db34d6d3e9e723d6d2b94a
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 7 Dec 2009 22:54:12 +0000 (7 14:54 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 7 Dec 2009 22:57:43 +0000 (7 14:57 -0800)
tree30b5d55ebf10f8d802a5746533a178a39997c481
parent7936ab16da93f91258e17e4699360dc3f43728ce
ARM: remove mrc_opcode(), use MRC() or MCR()

Get rid of mrc_opcode() in favor of ARMV4_5_MRC() or, where
arm*20t should have used it, ARMV4_5_MCR() instead.

Basically, *writing* coprocessor registers shouldn't have
used the *read* opcode ... and both should stick to standard
opcode constructors, not rearranging parameter sequence any
more than already needed.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/arm720t.c
src/target/arm920t.c
src/target/armv4_5.h