- set cfi_info->write_algorithm and cfi_info->erase_check_algorithm to NULL to
get "flash erase_check" command working
git-svn-id: svn://svn.berlios.de/openocd/trunk@227
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
pri_ext->TopBottom = 2;
else
pri_ext->TopBottom = 3;
+\r
+ pri_ext->_unlock1 = cfi_unlock_addresses[CFI_UNLOCK_555_2AA].unlock1;\r
+ pri_ext->_unlock2 = cfi_unlock_addresses[CFI_UNLOCK_555_2AA].unlock2;\r
return ERROR_OK;
}
}
cfi_info = malloc(sizeof(cfi_flash_bank_t));
- bank->driver_priv = cfi_info;
+ bank->driver_priv = cfi_info;\r
+ \r
+ cfi_info->write_algorithm = NULL;
+ cfi_info->erase_check_algorithm = NULL;
cfi_info->x16_as_x8 = 0;
cfi_info->jedec_probe = 0;