target: or1k: remove wrong endian swap from or1k generic code
commitae3baa9d5a09fa6b3ef23c74ea16f7a10b8a6406
authorFranck Jullien <franck.jullien@gmail.com>
Mon, 25 Nov 2013 22:18:19 +0000 (25 23:18 +0100)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Thu, 5 Jun 2014 19:21:46 +0000 (5 19:21 +0000)
tree06a9bee5b8a1933d485c61293caf7ebed5172f18
parentc8c10f77dcbc6297f475af7e9768593a847665c2
target: or1k: remove wrong endian swap from or1k generic code

We don't need to swap the endianness in the target generic code.
This swap is necessary because of the adv_debug_if debug unit.
This patch moves this specific piece of code from or1k.c to
or1k_du_adv.c.

Change-Id: I3acea092fe6edfa79b4a87861b5f01204f071bf0
Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
Reviewed-on: http://openocd.zylin.com/1663
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/target/openrisc/or1k.c
src/target/openrisc/or1k.h
src/target/openrisc/or1k_du_adv.c