summaryrefslogtreecommitdiff
path: root/drivers/fastboot/Makefile
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2018-05-29 15:30:39 +0000
committerMarek Vasut <marex@denx.de>2018-05-30 11:59:21 +0200
commit312a10f16bf3e8b68066fa359d4dd6a887b5fd55 (patch)
treec123de4e36bb19c6462605b66aef12c2f14d3267 /drivers/fastboot/Makefile
parent6aae84769a0be095daf94d34fdd61b12d59a7022 (diff)
downloadu-boot-312a10f16bf3e8b68066fa359d4dd6a887b5fd55.tar.gz
fastboot: Move fastboot to drivers/fastboot
Separate CMD_FASTBOOT from FASTBOOT and move code and configuration to drivers/fastboot. Switch dependencies on FASTBOOT to USB_FUNCTION_FASTBOOT as anyone who wants FASTBOOT before this series wants USB_FUNCTION_FASTBOOT. Split USB_FUNCTION_FASTBOOT from FASTBOOT so they retain their existing behaviour. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/fastboot/Makefile')
-rw-r--r--drivers/fastboot/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/fastboot/Makefile b/drivers/fastboot/Makefile
new file mode 100644
index 0000000000..651fbf0935
--- /dev/null
+++ b/drivers/fastboot/Makefile
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0+
+
+ifdef CONFIG_FASTBOOT_FLASH_MMC_DEV
+obj-y += fb_mmc.o
+endif
+ifdef CONFIG_FASTBOOT_FLASH_NAND_DEV
+obj-y += fb_nand.o
+endif