aboutsummaryrefslogtreecommitdiff
path: root/src/target/xscale.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2009-11-29 12:53:06 +0100
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-29 12:57:05 -0800
commit17b7600a59c4fb9245107baac1873c23e792ce43 (patch)
tree0359e7192e60da4a711994ba5caa7f3e31b8f474 /src/target/xscale.h
parent73ec6d9b891cbecf50058dcfdfefa5d0c4217090 (diff)
downloadriscv-openocd-17b7600a59c4fb9245107baac1873c23e792ce43.zip
riscv-openocd-17b7600a59c4fb9245107baac1873c23e792ce43.tar.gz
riscv-openocd-17b7600a59c4fb9245107baac1873c23e792ce43.tar.bz2
XScale: initial PXA3xx support
[dbrownell@users.sourceforge.net: user's guide; variant param is optional] Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/xscale.h')
-rw-r--r--src/target/xscale.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/target/xscale.h b/src/target/xscale.h
index 4f1b54d..0a70ecb 100644
--- a/src/target/xscale.h
+++ b/src/target/xscale.h
@@ -37,6 +37,10 @@
#define XSCALE_LDIC 0x07
#define XSCALE_SELDCSR 0x09
+/* Possible CPU types */
+#define XSCALE_IXP4XX_PXA2XX 0x0
+#define XSCALE_PXA3XX 0x4
+
enum xscale_debug_reason
{
XSCALE_DBG_REASON_GENERIC,
@@ -129,6 +133,9 @@ struct xscale_common
uint32_t cp15_control_reg;
int fast_memory_access;
+
+ /* CPU variant */
+ int xscale_variant;
};
static inline struct xscale_common *