/* Set image_size and ${filesize} to the total size of the downloaded image.  */
void fastboot_data_complete(char *response)
/* Set image_size and ${filesize} to the total size of the downloaded image.  */
void fastboot_data_complete(char *response)
{
	fastboot_okay(NULL, response);
	printf("\ndownloading of %d bytes finished\n", fastboot_bytes_received);
	image_size = fastboot_bytes_received;
	env_set_hex("filesize", image_size);
	fastboot_bytes_expected = 0;
	fastboot_bytes_received = 0;
}