summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorguoyin.chen <guoyin.chen@freescale.com>2015-05-22 17:37:48 +0800
committerguoyin.chen <guoyin.chen@freescale.com>2015-06-25 17:39:28 +0800
commit96edf3b9d7fd38d6059e158392eadca521ecb4d2 (patch)
treee66588aa67e80f52512e23a9f84b3a4dcc18e2b9 /common/Makefile
parent02c781ffe5d3dd52fcefe7686695ca2eefce2d5f (diff)
downloadu-boot-imx-96edf3b9d7fd38d6059e158392eadca521ecb4d2.zip
u-boot-imx-96edf3b9d7fd38d6059e158392eadca521ecb4d2.tar.gz
u-boot-imx-96edf3b9d7fd38d6059e158392eadca521ecb4d2.tar.bz2
MA-6732 Add sparse image flash support for uboot's fastboot
Add aboot.o based on CONFIG_FASTBOOT Add partition index for fastboot ptn table Add return value for write_sparse_image to know the sparse write status Add path to write_sparse_image based on the image received and partition to be flashed Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index 436ca39..9c1f18d 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -182,6 +182,9 @@ obj-y += usb.o usb_hub.o
obj-$(CONFIG_USB_STORAGE) += usb_storage.o
endif
obj-$(CONFIG_CMD_FASTBOOT) += cmd_fastboot.o
+ifndef CONFIG_FASTBOOT_FLASH_MMC_DEV
+obj-$(CONFIG_CMD_FASTBOOT) += aboot.o
+endif
obj-$(CONFIG_CMD_FS_UUID) += cmd_fs_uuid.o
obj-$(CONFIG_CMD_USB_MASS_STORAGE) += cmd_usb_mass_storage.o