summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteve Rae <srae@broadcom.com>2016-06-07 18:19:35 (GMT)
committerTom Rini <trini@konsulko.com>2016-06-27 20:36:33 (GMT)
commit64ece84854ae49f40e9b9d4d88502247774f9d2f (patch)
tree5d02749db9a0ef23a4bd25fb66badd054162f3f2 /include
parentac6e5fed31ccd1da18b8ef10542c3534bd2dbd38 (diff)
downloadu-boot-fsl-qoriq-64ece84854ae49f40e9b9d4d88502247774f9d2f.tar.xz
fastboot: sparse: remove session-id logic
This "session-id" alogrithm is not required, and currently corrupts the stored image whenever more the one "session" is required. Signed-off-by: Steve Rae <srae@broadcom.com>
Diffstat (limited to 'include')
-rw-r--r--include/fb_mmc.h5
-rw-r--r--include/fb_nand.h5
-rw-r--r--include/image-sparse.h2
3 files changed, 5 insertions, 7 deletions
diff --git a/include/fb_mmc.h b/include/fb_mmc.h
index 978a139..402ba9b 100644
--- a/include/fb_mmc.h
+++ b/include/fb_mmc.h
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: GPL-2.0+
*/
-void fb_mmc_flash_write(const char *cmd, unsigned int session_id,
- void *download_buffer, unsigned int download_bytes,
- char *response);
+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);
diff --git a/include/fb_nand.h b/include/fb_nand.h
index 80ddef5..88bdf36 100644
--- a/include/fb_nand.h
+++ b/include/fb_nand.h
@@ -5,7 +5,6 @@
* 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_flash_write(const char *cmd, void *download_buffer,
+ unsigned int download_bytes, char *response);
void fb_nand_erase(const char *cmd, char *response);
diff --git a/include/image-sparse.h b/include/image-sparse.h
index 0382f5b..a2b0694 100644
--- a/include/image-sparse.h
+++ b/include/image-sparse.h
@@ -32,4 +32,4 @@ static inline int is_sparse_image(void *buf)
}
int store_sparse_image(sparse_storage_t *storage, void *storage_priv,
- unsigned int session_id, void *data);
+ void *data);