diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-14 07:26:13 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-14 07:26:13 +0000 |
commit | 80d20326a7fafc0f6ed865df2211bc9e609265fb (patch) | |
tree | a9ec00ca6d60b5832f6b42b35b27449bf33c15e4 /src/flash/str9x.h | |
parent | 53c41935cd72687ffb7f6b408a824f8e40f82ee9 (diff) | |
download | riscv-openocd-80d20326a7fafc0f6ed865df2211bc9e609265fb.zip riscv-openocd-80d20326a7fafc0f6ed865df2211bc9e609265fb.tar.gz riscv-openocd-80d20326a7fafc0f6ed865df2211bc9e609265fb.tar.bz2 |
- split str71x driver into banks
- support new str91x/str9xpec devices
- update target scripts and docs for changes
git-svn-id: svn://svn.berlios.de/openocd/trunk@577 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/str9x.h')
-rw-r--r-- | src/flash/str9x.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/flash/str9x.h b/src/flash/str9x.h index 6e589c0..f3100ce 100644 --- a/src/flash/str9x.h +++ b/src/flash/str9x.h @@ -26,6 +26,8 @@ typedef struct str9x_flash_bank_s { u32 *sector_bits; + int variant; + int bank1; working_area_t *write_algorithm; } str9x_flash_bank_t; @@ -55,11 +57,5 @@ enum str9x_status_codes #define FLASH_SR 0x5400001C /* Status Register */ #define FLASH_BCE5ADDR 0x54000020 /* BC Fifth Entry Target Address Register */ -typedef struct str9x_mem_layout_s { - u32 sector_start; - u32 sector_size; - u32 sector_bit; -} str9x_mem_layout_t; - #endif /* STR9X_H */ |