diff options
author | Steve Rae <srae@broadcom.com> | 2016-06-07 11:19:35 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-06-27 16:36:33 -0400 |
commit | 64ece84854ae49f40e9b9d4d88502247774f9d2f (patch) | |
tree | 5d02749db9a0ef23a4bd25fb66badd054162f3f2 /include | |
parent | ac6e5fed31ccd1da18b8ef10542c3534bd2dbd38 (diff) | |
download | u-boot-64ece84854ae49f40e9b9d4d88502247774f9d2f.tar.gz u-boot-64ece84854ae49f40e9b9d4d88502247774f9d2f.tar.bz2 u-boot-64ece84854ae49f40e9b9d4d88502247774f9d2f.zip |
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.h | 5 | ||||
-rw-r--r-- | include/fb_nand.h | 5 | ||||
-rw-r--r-- | include/image-sparse.h | 2 |
3 files changed, 5 insertions, 7 deletions
diff --git a/include/fb_mmc.h b/include/fb_mmc.h index 978a1395a1..402ba9b1b4 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 80ddef5656..88bdf3690d 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 0382f5bd26..a2b0694190 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); |