diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-10-15 14:34:17 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-11-12 13:18:58 -0500 |
commit | bf8940d35b91ef87e0e4e691c5d8cc356fcae035 (patch) | |
tree | 5a1668056971215c558fb2b1256c7b560931adde /common/Makefile | |
parent | 1f8690aa950ad1f42a64d07c4a31e47dcf1090b7 (diff) | |
download | u-boot-imx-bf8940d35b91ef87e0e4e691c5d8cc356fcae035.zip u-boot-imx-bf8940d35b91ef87e0e4e691c5d8cc356fcae035.tar.gz u-boot-imx-bf8940d35b91ef87e0e4e691c5d8cc356fcae035.tar.bz2 |
fastboot: Implement NAND backend
So far the fastboot code was only supporting MMC-backed devices for its
flashing operations (flash and erase).
Add a storage backend for NAND-backed devices.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'common/Makefile')
-rw-r--r-- | common/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/common/Makefile b/common/Makefile index d986cde..4c1b2f0 100644 --- a/common/Makefile +++ b/common/Makefile @@ -276,10 +276,15 @@ 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 +ifdef CONFIG_FASTBOOT_FLASH obj-y += aboot.o +ifdef CONFIG_FASTBOOT_FLASH_MMC_DEV obj-y += fb_mmc.o endif +ifdef CONFIG_FASTBOOT_FLASH_NAND_DEV +obj-y += fb_nand.o +endif +endif obj-$(CONFIG_CMD_BLOB) += cmd_blob.o |