summaryrefslogtreecommitdiff
path: root/src/flash/at91sam7.h
diff options
context:
space:
mode:
authordrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2006-10-06 15:46:25 +0000
committerdrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2006-10-06 15:46:25 +0000
commit94ffacdd9309745c8f04b512426bb6d810f5456a (patch)
treeae9ce6fb538cf1ec8ac847527a66b25fb403f035 /src/flash/at91sam7.h
parent5b747eeb4af35e2ab4a390e420583939db621c73 (diff)
downloadopenocd+libswd-94ffacdd9309745c8f04b512426bb6d810f5456a.tar.gz
openocd+libswd-94ffacdd9309745c8f04b512426bb6d810f5456a.tar.bz2
openocd+libswd-94ffacdd9309745c8f04b512426bb6d810f5456a.tar.xz
openocd+libswd-94ffacdd9309745c8f04b512426bb6d810f5456a.zip
- added support for American Microsystem's M5960 (FT2232 based USB JTAG interface)
- added support for AT91SAM7A devices (thanks to Magnus Lundin) - updated README with pointer to Amontec's JTAGkeyTiny git-svn-id: svn://svn.berlios.de/openocd/trunk@102 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/at91sam7.h')
-rw-r--r--src/flash/at91sam7.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/flash/at91sam7.h b/src/flash/at91sam7.h
index e2412f8c..0bb8f439 100644
--- a/src/flash/at91sam7.h
+++ b/src/flash/at91sam7.h
@@ -86,7 +86,16 @@ typedef struct at91sam7_flash_bank_s
#define CGPB 0x0D
#define SSB 0x0F
+/* MC_FSR bit definitions */
+#define MC_FSR_FRDY 1
+#define MC_FSR_EOL 2
+
/* AT91SAM7 constants */
#define RC_FREQ 32000
+/* FLASH_TIMING_MODES */
+#define FMR_TIMING_NONE 0
+#define FMR_TIMING_NVBITS 1
+#define FMR_TIMING_FLASH 2
+
#endif /* AT91SAM7_H */