diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-19 12:06:49 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-19 12:06:49 +0000 |
commit | f1bca5898caa8c81bff9383f1649d3454f6ec195 (patch) | |
tree | 3269b69e290537dd1cebbc2ac10ad76050fc5968 /src/flash/non_cfi.h | |
parent | 8ac5bd7030242c60858838d822a7c2edbf8cdcb6 (diff) |
Michael Schwingen <rincewind@discworld.dascon.de> enhanced non-CFI flash support
git-svn-id: svn://svn.berlios.de/openocd/trunk@1469 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/non_cfi.h')
-rw-r--r-- | src/flash/non_cfi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/non_cfi.h b/src/flash/non_cfi.h index bfd6ab2d..19fef853 100644 --- a/src/flash/non_cfi.h +++ b/src/flash/non_cfi.h @@ -27,7 +27,7 @@ typedef struct non_cfi_s u16 mfr; u16 id; u16 pri_id; - u8 dev_size; + u32 dev_size; u16 interface_desc; u16 max_buf_write_size; u8 num_erase_regions; @@ -35,6 +35,6 @@ typedef struct non_cfi_s } non_cfi_t; extern non_cfi_t non_cfi_flashes[]; -extern void cfi_fixup_non_cfi(flash_bank_t *bank, void *param); +extern void cfi_fixup_non_cfi(flash_bank_t *bank); #endif /* NON_CFI_H */ |