Skip to content
Snippets Groups Projects
Commit da742a2d authored by drath's avatar drath
Browse files

- Flash auto-erase is disabled by default


git-svn-id: svn://svn.berlios.de/openocd/trunk@592 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent fcf3b943
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment