summaryrefslogtreecommitdiff
path: root/include/fb_nand.h
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2018-05-29 18:30:40 +0300
committerMarek Vasut <marex@denx.de>2018-05-30 12:59:21 +0300
commitc4ded03ef608be37db105200010d2f3f88195bd6 (patch)
treeda52aed38bf366e0809899f537429b461b39fb8b /include/fb_nand.h
parent312a10f16bf3e8b68066fa359d4dd6a887b5fd55 (diff)
downloadu-boot-c4ded03ef608be37db105200010d2f3f88195bd6.tar.xz
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/fb_nand.h')
-rw-r--r--include/fb_nand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fb_nand.h b/include/fb_nand.h
index 3daae8c4ca..2c92a4eb50 100644
--- a/include/fb_nand.h
+++ b/include/fb_nand.h
@@ -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);