commit | ed6a41443183a01485eddd1954ae912c51b5b6ee | [log] [tgz] |
---|---|---|
author | Alex Kiernan <alex.kiernan@gmail.com> | Tue May 29 15:30:41 2018 +0000 |
committer | Marek Vasut <marex@denx.de> | Wed May 30 11:59:21 2018 +0200 |
tree | 572a2ecdd83b6f84715ad5033e60dd95f6373b4d | |
parent | 27b69defbfae7ad7562e2326c7a3958497d25594 [diff] |
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: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>