mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
fastboot: Refactor fastboot_okay/fail to take response
Add the response string as a parameter to fastboot_okay/fail, instead of modifying a global, to match the contract expected by the AOSP U-Boot code. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
committed by
Marek Vasut
parent
312a10f16b
commit
c4ded03ef6
@@ -23,7 +23,7 @@ struct sparse_storage {
|
||||
lbaint_t blk,
|
||||
lbaint_t blkcnt);
|
||||
|
||||
void (*mssg)(const char *str);
|
||||
void (*mssg)(const char *str, char *response);
|
||||
};
|
||||
|
||||
static inline int is_sparse_image(void *buf)
|
||||
@@ -38,4 +38,4 @@ static inline int is_sparse_image(void *buf)
|
||||
}
|
||||
|
||||
int write_sparse_image(struct sparse_storage *info, const char *part_name,
|
||||
void *data);
|
||||
void *data, char *response);
|
||||
|
Reference in New Issue
Block a user