aboutsummaryrefslogtreecommitdiff
path: root/src/target/openrisc/or1k.h
diff options
context:
space:
mode:
authorFranck Jullien <franck.jullien@gmail.com>2013-11-25 23:18:19 +0100
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2014-06-05 19:21:46 +0000
commitae3baa9d5a09fa6b3ef23c74ea16f7a10b8a6406 (patch)
tree06a9bee5b8a1933d485c61293caf7ebed5172f18 /src/target/openrisc/or1k.h
parentc8c10f77dcbc6297f475af7e9768593a847665c2 (diff)
downloadriscv-openocd-ae3baa9d5a09fa6b3ef23c74ea16f7a10b8a6406.zip
riscv-openocd-ae3baa9d5a09fa6b3ef23c74ea16f7a10b8a6406.tar.gz
riscv-openocd-ae3baa9d5a09fa6b3ef23c74ea16f7a10b8a6406.tar.bz2
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>
Diffstat (limited to 'src/target/openrisc/or1k.h')
-rw-r--r--src/target/openrisc/or1k.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/openrisc/or1k.h b/src/target/openrisc/or1k.h
index 5610e01..e3fc842 100644
--- a/src/target/openrisc/or1k.h
+++ b/src/target/openrisc/or1k.h
@@ -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 {