blob: daca81a20179b9826024556f7d6e4696a8936ae0 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Steve Raec0aebb32014-08-26 11:47:27 -07002/*
3 * Copyright 2014 Broadcom Corporation.
Steve Raec0aebb32014-08-26 11:47:27 -07004 */
5
Alex Kiernand1a119d2018-05-29 15:30:48 +00006/**
7 * fastboot_mmc_flash_write() - Write image to eMMC for fastboot
8 *
9 * @cmd: Named partition to write image to
10 * @download_buffer: Pointer to image data
11 * @download_bytes: Size of image data
12 * @response: Pointer to fastboot response buffer
13 */
14void fastboot_mmc_flash_write(const char *cmd, void *download_buffer,
15 unsigned int download_bytes, char *response);
16
17/**
18 * fastboot_mmc_flash_erase() - Erase eMMC for fastboot
19 *
20 * @cmd: Named partition to erase
21 * @response: Pointer to fastboot response buffer
22 */
23void fastboot_mmc_erase(const char *cmd, char *response);