From 2341c99e20b9271e87e2cfebfbb77efce7b8402e Mon Sep 17 00:00:00 2001 From: ntfreak Date: Sun, 20 Jul 2008 17:29:59 +0000 Subject: - 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 --- src/flash/non_cfi.c | 32 +++++++++++++++----------------- src/flash/non_cfi.h | 1 - 2 files changed, 15 insertions(+), 18 deletions(-) (limited to 'src/flash') 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 */ - -- cgit v1.2.3