diff options
author | Maxime Ripard | 2015-10-15 14:34:17 +0200 |
---|---|---|
committer | Tom Rini | 2015-11-12 13:18:58 -0500 |
commit | bf8940d35b91ef87e0e4e691c5d8cc356fcae035 (patch) | |
tree | 5a1668056971215c558fb2b1256c7b560931adde /include/fb_nand.h | |
parent | 1f8690aa950ad1f42a64d07c4a31e47dcf1090b7 (diff) |
fastboot: Implement NAND backend
So far the fastboot code was only supporting MMC-backed devices for its
flashing operations (flash and erase).
Add a storage backend for NAND-backed devices.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'include/fb_nand.h')
-rw-r--r-- | include/fb_nand.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/fb_nand.h b/include/fb_nand.h new file mode 100644 index 00000000000..80ddef5656a --- /dev/null +++ b/include/fb_nand.h @@ -0,0 +1,11 @@ +/* + * Copyright 2014 Broadcom Corporation. + * Copyright 2015 Free Electrons. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +void fb_nand_flash_write(const char *cmd, unsigned int session_id, + void *download_buffer, unsigned int download_bytes, + char *response); +void fb_nand_erase(const char *cmd, char *response); |