diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-16 14:17:31 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-16 14:17:31 -0800 |
commit | d265c219b90bfe9454991bed6b41f790f085d230 (patch) | |
tree | 3c179d8f0d8a0755a21ea394e5012ff212b0e705 /src/flash/nor/stellaris.h | |
parent | 1cd7b3b49b33860a5652b9dd2829e9ed71ac6289 (diff) | |
download | riscv-openocd-d265c219b90bfe9454991bed6b41f790f085d230.zip riscv-openocd-d265c219b90bfe9454991bed6b41f790f085d230.tar.gz riscv-openocd-d265c219b90bfe9454991bed6b41f790f085d230.tar.bz2 |
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.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/flash/nor/stellaris.h b/src/flash/nor/stellaris.h index 4de4f00..a469323 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 |