/* @buf_addr: Pointer to download buffer, or NULL for default @buf_size: Size of download buffer, or zero for default  */
void fastboot_init(void *buf_addr, u32 buf_size)
/* @buf_addr: Pointer to download buffer, or NULL for default @buf_size: Size of download buffer, or zero for default  */
void fastboot_init(void *buf_addr, u32 buf_size)
{
	fastboot_buf_addr = buf_addr ? buf_addr :
				       (void *)CONFIG_FASTBOOT_BUF_ADDR;
	fastboot_buf_size = buf_size ? buf_size : CONFIG_FASTBOOT_BUF_SIZE;
	fastboot_set_progress_callback(NULL);
}