summaryrefslogtreecommitdiff
path: root/src/flash/non_cfi.c
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-20 17:29:59 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-20 17:29:59 +0000
commit2341c99e20b9271e87e2cfebfbb77efce7b8402e (patch)
treefcab89eefc5c1957236f1322f4ba563f32fca2e6 /src/flash/non_cfi.c
parent94efc6470992bfff2308c7f10600765a56ffb8f1 (diff)
downloadopenocd+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/non_cfi.c')
-rw-r--r--src/flash/non_cfi.c32
1 files changed, 15 insertions, 17 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);
}
}
-
-