diff options
author | Alex Kiernan | 2018-05-29 15:30:41 +0000 |
---|---|---|
committer | Marek Vasut | 2018-05-30 11:59:21 +0200 |
commit | d2df2abbcd4b88539605f8329edd244e6474d7a0 (patch) | |
tree | 572a2ecdd83b6f84715ad5033e60dd95f6373b4d /drivers/Makefile | |
parent | c4ded03ef608be37db105200010d2f3f88195bd6 (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>
Diffstat (limited to 'drivers/Makefile')
-rw-r--r-- | drivers/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/Makefile b/drivers/Makefile index a79ff2e6b00..d29a6e467b6 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -71,9 +71,7 @@ obj-y += block/ obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/ obj-$(CONFIG_CPU) += cpu/ obj-y += crypto/ -ifneq ($(CONFIG_FASTBOOT_FLASH_MMC_DEV)$(CONFIG_FASTBOOT_FLASH_NAND_DEV),) -obj-y += fastboot/ -endif +obj-$(CONFIG_FASTBOOT) += fastboot/ obj-y += firmware/ obj-$(CONFIG_FPGA) += fpga/ obj-y += misc/ |