summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorSteve Rae <srae@broadcom.com>2014-08-26 11:47:27 -0700
committerTom Rini <trini@ti.com>2014-09-24 18:30:27 -0400
commitc0aebb3382133c99bc458d96b562703dae4ae928 (patch)
treec1930546f8812788ea0ac52a3e953b3d0f363cfe /common/Makefile
parent7172de33b0cc0a44713fd4fbbb61fd1fada17341 (diff)
downloadu-boot-imx-c0aebb3382133c99bc458d96b562703dae4ae928.zip
u-boot-imx-c0aebb3382133c99bc458d96b562703dae4ae928.tar.gz
u-boot-imx-c0aebb3382133c99bc458d96b562703dae4ae928.tar.bz2
usb/gadget: fastboot: add eMMC support for flash command
- add support for 'fastboot flash' command for eMMC devices Signed-off-by: Steve Rae <srae@broadcom.com>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index aca0f7f..443e54c 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -264,4 +264,9 @@ obj-$(CONFIG_IO_TRACE) += iotrace.o
obj-y += memsize.o
obj-y += stdio.o
+# This option is not just y/n - it can have a numeric value
+ifdef CONFIG_FASTBOOT_FLASH_MMC_DEV
+obj-y += fb_mmc.o
+endif
+
CFLAGS_env_embedded.o := -Wa,--no-warn -DENV_CRC=$(shell tools/envcrc 2>/dev/null)