summaryrefslogtreecommitdiff
path: root/src/target/cortex_a8.h
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2011-03-21 14:10:57 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-03-22 09:10:21 +0100
commitfc574c64bb259814ccbf51d74057873bd5649ea3 (patch)
tree4f6d13d432f4d2469551261079d05ead3e0ffc1e /src/target/cortex_a8.h
parent6c5e1781a102424353bf237386e7443b2ce3e4d3 (diff)
downloadopenocd_libswd-fc574c64bb259814ccbf51d74057873bd5649ea3.tar.gz
openocd_libswd-fc574c64bb259814ccbf51d74057873bd5649ea3.tar.bz2
openocd_libswd-fc574c64bb259814ccbf51d74057873bd5649ea3.tar.xz
openocd_libswd-fc574c64bb259814ccbf51d74057873bd5649ea3.zip
cortex a9: merge cortex a9 and a8 code
better to keep this in a single file. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/cortex_a8.h')
-rw-r--r--src/target/cortex_a8.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/target/cortex_a8.h b/src/target/cortex_a8.h
index 7e116e49..b49e670f 100644
--- a/src/target/cortex_a8.h
+++ b/src/target/cortex_a8.h
@@ -33,7 +33,6 @@
#define CORTEX_A8_COMMON_MAGIC 0x411fc082
-/* See Cortex-A8 TRM section 12.5 */
#define CPUDBG_CPUID 0xD00
#define CPUDBG_CTYPR 0xD04
#define CPUDBG_TTYPR 0xD0C
@@ -43,6 +42,8 @@
#define BRP_NORMAL 0
#define BRP_CONTEXT 1
+#define CORTEX_A8_PADDRDBG_CPU_SHIFT 13
+
struct cortex_a8_brp
{
int used;