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:
Alex Kiernan 2018-05-29 15:30:40 +00:00 committed by Marek Vasut
parent 312a10f16b
commit c4ded03ef6
9 changed files with 105 additions and 97 deletions

View file

@ -5,5 +5,5 @@
*/
void fb_nand_flash_write(const char *cmd, void *download_buffer,
unsigned int download_bytes);
void fb_nand_erase(const char *cmd);
unsigned int download_bytes, char *response);
void fb_nand_erase(const char *cmd, char *response);