diff options
author | Alex Kiernan | 2018-05-29 15:30:40 +0000 |
---|---|---|
committer | Marek Vasut | 2018-05-30 11:59:21 +0200 |
commit | c4ded03ef608be37db105200010d2f3f88195bd6 (patch) | |
tree | da52aed38bf366e0809899f537429b461b39fb8b /include/fastboot.h | |
parent | 312a10f16bf3e8b68066fa359d4dd6a887b5fd55 (diff) |
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>
Diffstat (limited to 'include/fastboot.h')
-rw-r--r-- | include/fastboot.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fastboot.h b/include/fastboot.h index 009f1a72e10..ed52daeb1b8 100644 --- a/include/fastboot.h +++ b/include/fastboot.h @@ -15,7 +15,7 @@ /* The 64 defined bytes plus \0 */ #define FASTBOOT_RESPONSE_LEN (64 + 1) -void fastboot_fail(const char *reason); -void fastboot_okay(const char *reason); +void fastboot_fail(const char *reason, char *response); +void fastboot_okay(const char *reason, char *response); #endif /* _FASTBOOT_H_ */ |