summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSteve Rae <srae@broadcom.com>2016-06-07 11:19:37 -0700
committerTom Rini <trini@konsulko.com>2016-06-27 16:37:38 -0400
commit9bc34799c8e6d8907b18e02c405576aa6bf9ce15 (patch)
tree879b7cb9c0aead4b5707a7539d25571060cb80fc /include
parentcc0f08cd347ea9741375a70c490c6bee684f7bac (diff)
downloadtalos-obmc-uboot-9bc34799c8e6d8907b18e02c405576aa6bf9ce15.tar.gz
talos-obmc-uboot-9bc34799c8e6d8907b18e02c405576aa6bf9ce15.zip
fastboot: sparse: resync common/image-sparse.c (part 2)
- update fastboot_okay() and fastboot_fail() This file originally came from upstream code. While retaining the storage abstraction feature, this is the second set of the changes required to resync with the cmd_flash_mmc_sparse_img() in the file aboot.c from https://us.codeaurora.org/cgit/quic/la/kernel/lk/plain/app/aboot/aboot.c?h=LE.BR.1.2.1 Signed-off-by: Steve Rae <srae@broadcom.com>
Diffstat (limited to 'include')
-rw-r--r--include/fastboot.h4
-rw-r--r--include/fb_mmc.h4
-rw-r--r--include/fb_nand.h4
-rw-r--r--include/image-sparse.h2
4 files changed, 7 insertions, 7 deletions
diff --git a/include/fastboot.h b/include/fastboot.h
index db826d20bf..616631e9aa 100644
--- a/include/fastboot.h
+++ b/include/fastboot.h
@@ -16,7 +16,7 @@
/* The 64 defined bytes plus \0 */
#define FASTBOOT_RESPONSE_LEN (64 + 1)
-void fastboot_fail(char *response, const char *reason);
-void fastboot_okay(char *response, const char *reason);
+void fastboot_fail(const char *reason);
+void fastboot_okay(const char *reason);
#endif /* _FASTBOOT_H_ */
diff --git a/include/fb_mmc.h b/include/fb_mmc.h
index 402ba9b1b4..12b99cb5ee 100644
--- a/include/fb_mmc.h
+++ b/include/fb_mmc.h
@@ -5,5 +5,5 @@
*/
void fb_mmc_flash_write(const char *cmd, void *download_buffer,
- unsigned int download_bytes, char *response);
-void fb_mmc_erase(const char *cmd, char *response);
+ unsigned int download_bytes);
+void fb_mmc_erase(const char *cmd);
diff --git a/include/fb_nand.h b/include/fb_nand.h
index 88bdf3690d..aaf7cf7ae8 100644
--- a/include/fb_nand.h
+++ b/include/fb_nand.h
@@ -6,5 +6,5 @@
*/
void fb_nand_flash_write(const char *cmd, void *download_buffer,
- unsigned int download_bytes, char *response);
-void fb_nand_erase(const char *cmd, char *response);
+ unsigned int download_bytes);
+void fb_nand_erase(const char *cmd);
diff --git a/include/image-sparse.h b/include/image-sparse.h
index 4e9e78403b..f6869d62c0 100644
--- a/include/image-sparse.h
+++ b/include/image-sparse.h
@@ -33,4 +33,4 @@ static inline int is_sparse_image(void *buf)
}
void write_sparse_image(struct sparse_storage *info, const char *part_name,
- void *data, unsigned sz, char *response_str);
+ void *data, unsigned sz);
OpenPOWER on IntegriCloud