diff options
author | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-18 16:23:21 +0000 |
---|---|---|
committer | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-18 16:23:21 +0000 |
commit | da742a2d1c419a38696614cdfcc8b32fb0ba858b (patch) | |
tree | 68af210ead2772e3a831533d8ee5b7a4e1fa6942 /src | |
parent | fcf3b943d8669249cca0b9d2d8179adcadcc12bd (diff) | |
download | openocd_libswd-da742a2d1c419a38696614cdfcc8b32fb0ba858b.tar.gz openocd_libswd-da742a2d1c419a38696614cdfcc8b32fb0ba858b.tar.bz2 openocd_libswd-da742a2d1c419a38696614cdfcc8b32fb0ba858b.tar.xz openocd_libswd-da742a2d1c419a38696614cdfcc8b32fb0ba858b.zip |
- Flash auto-erase is disabled by default
git-svn-id: svn://svn.berlios.de/openocd/trunk@592 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/flash/flash.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/flash/flash.c b/src/flash/flash.c index 12f84418..0be0afc5 100644 --- a/src/flash/flash.c +++ b/src/flash/flash.c @@ -88,8 +88,9 @@ flash_driver_t *flash_drivers[] = flash_bank_t *flash_banks; static command_t *flash_cmd; -/* enabled by default*/ -static int auto_erase = 1; + +/* flash auto-erase is disabled by default*/ +static int auto_erase = 0; /* wafer thin wrapper for invoking the flash driver */ static int flash_driver_write(struct flash_bank_s *bank, u8 *buffer, u32 offset, u32 count) |