From bf8940d35b91ef87e0e4e691c5d8cc356fcae035 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Thu, 15 Oct 2015 14:34:17 +0200 Subject: 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 --- include/fb_nand.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 include/fb_nand.h (limited to 'include/fb_nand.h') diff --git a/include/fb_nand.h b/include/fb_nand.h new file mode 100644 index 0000000..80ddef5 --- /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); -- cgit v1.1