fastboot: Refactor fastboot_okay/fail to take response
authorAlex Kiernan <alex.kiernan@gmail.com>
Tue, 29 May 2018 15:30:40 +0000 (15:30 +0000)
committerMarek Vasut <marex@denx.de>
Wed, 30 May 2018 09:59:21 +0000 (11:59 +0200)
commitc4ded03ef608be37db105200010d2f3f88195bd6
treeda52aed38bf366e0809899f537429b461b39fb8b
parent312a10f16bf3e8b68066fa359d4dd6a887b5fd55
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>
cmd/mmc.c
common/image-sparse.c
drivers/fastboot/fb_mmc.c
drivers/fastboot/fb_nand.c
drivers/usb/gadget/f_fastboot.c
include/fastboot.h
include/fb_mmc.h
include/fb_nand.h
include/image-sparse.h