summaryrefslogtreecommitdiff
path: root/src/flash/nor/stellaris.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-16 14:17:31 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-16 14:17:31 -0800
commitd265c219b90bfe9454991bed6b41f790f085d230 (patch)
tree3c179d8f0d8a0755a21ea394e5012ff212b0e705 /src/flash/nor/stellaris.h
parent1cd7b3b49b33860a5652b9dd2829e9ed71ac6289 (diff)
downloadopenocd+libswd-d265c219b90bfe9454991bed6b41f790f085d230.tar.gz
openocd+libswd-d265c219b90bfe9454991bed6b41f790f085d230.tar.bz2
openocd+libswd-d265c219b90bfe9454991bed6b41f790f085d230.tar.xz
openocd+libswd-d265c219b90bfe9454991bed6b41f790f085d230.zip
stellaris: comments
Someday revisit various issues: Tempest parts support writing more than one word at a time; for some target firmware it might be necessary to save and restore flash IRQ configuration. (The safest policy is likely to always reset after flash updates.) Plus swap some undesirable TAB characters with SPACE. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/flash/nor/stellaris.h')
-rw-r--r--src/flash/nor/stellaris.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/flash/nor/stellaris.h b/src/flash/nor/stellaris.h
index 4de4f00f..a4693235 100644
--- a/src/flash/nor/stellaris.h
+++ b/src/flash/nor/stellaris.h
@@ -53,18 +53,19 @@ struct stellaris_flash_bank
/* STELLARIS control registers */
#define SCB_BASE 0x400FE000
-#define DID0 0x000
-#define DID1 0x004
-#define DC0 0x008
-#define DC1 0x010
-#define DC2 0x014
-#define DC3 0x018
-#define DC4 0x01C
-
-#define RIS 0x050
-#define RCC 0x060
-#define PLLCFG 0x064
-#define RCC2 0x070
+#define DID0 0x000
+#define DID1 0x004
+#define DC0 0x008
+#define DC1 0x010
+#define DC2 0x014
+#define DC3 0x018
+#define DC4 0x01C
+
+#define RIS 0x050
+#define RCC 0x060
+#define PLLCFG 0x064
+#define RCC2 0x070
+#define NVMSTAT 0x1a0
/* "legacy" flash memory protection registers (64KB max) */
#define FMPRE 0x130