|
@@ -95,10 +95,10 @@ sfud_err sfud_device_init(sfud_flash *flash) {
|
|
|
}
|
|
|
if (result == SFUD_SUCCESS) {
|
|
|
flash->init_ok = true;
|
|
|
- SFUD_INFO("%s flash device is initialize success.", flash->name);
|
|
|
+ SFUD_INFO("%s flash device initialized successfully.", flash->name);
|
|
|
} else {
|
|
|
flash->init_ok = false;
|
|
|
- SFUD_INFO("Error: %s flash device is initialize fail.", flash->name);
|
|
|
+ SFUD_INFO("Error: %s flash device initialization failed.", flash->name);
|
|
|
}
|
|
|
|
|
|
return result;
|
|
@@ -325,7 +325,7 @@ static sfud_err hardware_init(sfud_flash *flash) {
|
|
|
|
|
|
if (flash->chip.capacity == 0 || flash->chip.write_mode == 0 || flash->chip.erase_gran == 0
|
|
|
|| flash->chip.erase_gran_cmd == 0) {
|
|
|
- SFUD_INFO("Warning: This flash device is not found or not support.");
|
|
|
+ SFUD_INFO("Warning: This flash device is not found or not supported.");
|
|
|
return SFUD_ERR_NOT_FOUND;
|
|
|
} else {
|
|
|
const char *flash_mf_name = NULL;
|
|
@@ -338,12 +338,12 @@ static sfud_err hardware_init(sfud_flash *flash) {
|
|
|
}
|
|
|
/* print manufacturer and flash chip name */
|
|
|
if (flash_mf_name && flash->chip.name) {
|
|
|
- SFUD_INFO("Find a %s %s flash chip. Size is %ld bytes.", flash_mf_name, flash->chip.name,
|
|
|
+ SFUD_INFO("Found a %s %s flash chip. Size is %ld bytes.", flash_mf_name, flash->chip.name,
|
|
|
flash->chip.capacity);
|
|
|
} else if (flash_mf_name) {
|
|
|
- SFUD_INFO("Find a %s flash chip. Size is %ld bytes.", flash_mf_name, flash->chip.capacity);
|
|
|
+ SFUD_INFO("Found a %s flash chip. Size is %ld bytes.", flash_mf_name, flash->chip.capacity);
|
|
|
} else {
|
|
|
- SFUD_INFO("Find a flash chip. Size is %ld bytes.", flash->chip.capacity);
|
|
|
+ SFUD_INFO("Found a flash chip. Size is %ld bytes.", flash->chip.capacity);
|
|
|
}
|
|
|
}
|
|
|
|