added a couple of LOG_ERROR() messages to improve logfile.
git-svn-id: svn://svn.berlios.de/openocd/trunk@548 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
+3
-2
@@ -195,10 +195,11 @@ int loadDriver(ecosflash_flash_bank_t *info)
|
||||
image.base_address_set = 0;
|
||||
image.start_address_set = 0;
|
||||
target_t *target=info->target;
|
||||
int retval;
|
||||
|
||||
if (image_open(&image, info->driverPath, NULL) != ERROR_OK)
|
||||
if ((retval=image_open(&image, info->driverPath, NULL)) != ERROR_OK)
|
||||
{
|
||||
return ERROR_FLASH_BANK_INVALID;
|
||||
return retval;
|
||||
}
|
||||
|
||||
info->start_address=image.start_address;
|
||||
|
||||
Reference in New Issue
Block a user