Skip to content
Commit d2df2abb authored by Alex Kiernan's avatar Alex Kiernan Committed by Marek Vasut
Browse files

fastboot: Extract fastboot_okay/fail to fb_common.c



Add drivers/fastboot/fb_common.c, where fastboot_okay/fail are implemented
so we can call them from a non-USB implementation.

Introduce fastboot_response which takes varargs parameters so we can
use it to generate formatted response strings. Refactor fastboot_okay/fail
to use it.

Signed-off-by: default avatarAlex Kiernan <alex.kiernan@gmail.com>
Reviewed-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent c4ded03e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment