diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-01-21 11:05:35 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-01-21 11:05:35 +0000 |
commit | 82e4477e4718cfae97c4ce67cd5d83e40dde4c54 (patch) | |
tree | 6a3291b6b556b04d50dfe8a468c79b8c3e70d4e9 /src/flash | |
parent | 167ce32a7cb99962e6ae8f8c6d36b0999c16888c (diff) | |
download | openocd+libswd-82e4477e4718cfae97c4ce67cd5d83e40dde4c54.tar.gz openocd+libswd-82e4477e4718cfae97c4ce67cd5d83e40dde4c54.tar.bz2 openocd+libswd-82e4477e4718cfae97c4ce67cd5d83e40dde4c54.tar.xz openocd+libswd-82e4477e4718cfae97c4ce67cd5d83e40dde4c54.zip |
- updated docs for cfi command, added missing ft2232_layout names
git-svn-id: svn://svn.berlios.de/openocd/trunk@261 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/cfi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/flash/cfi.c b/src/flash/cfi.c index cc5a69e1..cf80a72c 100644 --- a/src/flash/cfi.c +++ b/src/flash/cfi.c @@ -612,15 +612,15 @@ int cfi_flash_bank_command(struct command_context_s *cmd_ctx, char *cmd, char ** if ((strtoul(args[4], NULL, 0) > CFI_MAX_CHIP_WIDTH) || (strtoul(args[3], NULL, 0) > CFI_MAX_BUS_WIDTH)) { - ERROR("chip and bus width have to specified in byte"); + ERROR("chip and bus width have to specified in bytes"); return ERROR_FLASH_BANK_INVALID; } cfi_info = malloc(sizeof(cfi_flash_bank_t)); bank->driver_priv = cfi_info; - - cfi_info->write_algorithm = NULL; - cfi_info->erase_check_algorithm = NULL; + + cfi_info->write_algorithm = NULL; + cfi_info->erase_check_algorithm = NULL; cfi_info->x16_as_x8 = 0; cfi_info->jedec_probe = 0; |