| /* |
| * Copyright (c) 2020 The Fuchsia Authors |
| * |
| * SPDX-License-Identifier: BSD-3-Clause |
| */ |
| #ifndef _FB_ZIRCON_H_ |
| #define _FB_ZIRCON_H_ |
| /** |
| * fb_zircon_flash_write() - flash zircon partition. |
| * |
| * @part: zircon partition name. |
| * @download_buffer: buffer to write from. |
| * @download_bytes: size of image in buffer. |
| * |
| */ |
| void fb_zircon_flash_write(const char *part_name, void *download_buffer, |
| unsigned int download_bytes); |
| |
| /** |
| * fb_zircon_erase() - erase zircon partition. |
| * |
| * @part: zircon partition to erase. |
| */ |
| void fb_zircon_erase(const char *part_name); |
| |
| #endif /*_FB_ZIRCON_H_*/ |