diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-18 07:33:03 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-18 07:33:03 +0000 |
commit | fcf3b943d8669249cca0b9d2d8179adcadcc12bd (patch) | |
tree | 69723a670379ae02a9d8380cdd94cec0f58a1874 /src/flash | |
parent | 4b19617f330a1ea4d8e2fe3fc00809f8244b465e (diff) |
Enabled auto erase, gdb memory map and gdb flash programming by default.
git-svn-id: svn://svn.berlios.de/openocd/trunk@591 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/flash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/flash/flash.c b/src/flash/flash.c index 46606d2d..12f84418 100644 --- a/src/flash/flash.c +++ b/src/flash/flash.c @@ -88,7 +88,8 @@ flash_driver_t *flash_drivers[] = flash_bank_t *flash_banks; static command_t *flash_cmd; -static int auto_erase = 0; +/* enabled by default*/ +static int auto_erase = 1; /* wafer thin wrapper for invoking the flash driver */ static int flash_driver_write(struct flash_bank_s *bank, u8 *buffer, u32 offset, u32 count) |