diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-20 17:29:59 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-20 17:29:59 +0000 |
commit | 2341c99e20b9271e87e2cfebfbb77efce7b8402e (patch) | |
tree | fcab89eefc5c1957236f1322f4ba563f32fca2e6 /src/flash | |
parent | 94efc6470992bfff2308c7f10600765a56ffb8f1 (diff) | |
download | openocd+libswd-2341c99e20b9271e87e2cfebfbb77efce7b8402e.tar.gz openocd+libswd-2341c99e20b9271e87e2cfebfbb77efce7b8402e.tar.bz2 openocd+libswd-2341c99e20b9271e87e2cfebfbb77efce7b8402e.tar.xz openocd+libswd-2341c99e20b9271e87e2cfebfbb77efce7b8402e.zip |
- added svn props for newly added files
- reformat spaces from non_cfi.[ch]
git-svn-id: svn://svn.berlios.de/openocd/trunk@843 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/non_cfi.c | 32 | ||||
-rw-r--r-- | src/flash/non_cfi.h | 1 |
2 files changed, 15 insertions, 18 deletions
diff --git a/src/flash/non_cfi.c b/src/flash/non_cfi.c index b9ae4c7d..e1b7caaa 100644 --- a/src/flash/non_cfi.c +++ b/src/flash/non_cfi.c @@ -179,29 +179,29 @@ non_cfi_t non_cfi_flashes[] = { .num_erase_regions = 4, .erase_region_info = { - 0x00400000, /* 1x 16KB */ - 0x00200001, /* 2x 8KB */ - 0x00800000, /* 1x 32KB */ - 0x0100000e, /* 15x 64KB */ + 0x00400000, /* 1x 16KB */ + 0x00200001, /* 2x 8KB */ + 0x00800000, /* 1x 32KB */ + 0x0100000e, /* 15x 64KB */ 0x00000000 } }, { .mfr = CFI_MFR_AMIC, - .id = 0xb31a, /* A29L800A */ + .id = 0xb31a, /* A29L800A */ .pri_id = 0x02, - .dev_size = 0x14, - .interface_desc = 0x2, - .max_buf_write_size = 0x0, - .num_erase_regions = 4, - .erase_region_info = + .dev_size = 0x14, + .interface_desc = 0x2, + .max_buf_write_size = 0x0, + .num_erase_regions = 4, + .erase_region_info = { - 0x00400000, /* 1x 16KB */ - 0x00200001, /* 2x 8KB */ - 0x00800000, /* 1x 32KB */ - 0x0100000e, /* 15x 64KB */ + 0x00400000, /* 1x 16KB */ + 0x00200001, /* 2x 8KB */ + 0x00800000, /* 1x 32KB */ + 0x0100000e, /* 15x 64KB */ 0x00000000 - } + } }, { .mfr = 0, @@ -288,5 +288,3 @@ void cfi_fixup_non_cfi(flash_bank_t *bank, void *param) exit(-1); } } - - diff --git a/src/flash/non_cfi.h b/src/flash/non_cfi.h index e91b2098..bfd6ab2d 100644 --- a/src/flash/non_cfi.h +++ b/src/flash/non_cfi.h @@ -38,4 +38,3 @@ extern non_cfi_t non_cfi_flashes[]; extern void cfi_fixup_non_cfi(flash_bank_t *bank, void *param); #endif /* NON_CFI_H */ - |