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>
This commit is contained in:
committed by
Andreas Fritiofson
parent
c8c10f77dc
commit
ae3baa9d5a
@@ -94,6 +94,7 @@ struct or1k_jtag {
|
||||
uint8_t *current_reg_idx;
|
||||
struct or1k_tap_ip *tap_ip;
|
||||
struct or1k_du *du_core;
|
||||
struct target *target;
|
||||
};
|
||||
|
||||
struct or1k_common {
|
||||
|
||||
Reference in New Issue
Block a user