diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-10-15 12:34:17 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-11-12 18:18:58 (GMT) |
commit | bf8940d35b91ef87e0e4e691c5d8cc356fcae035 (patch) | |
tree | 5a1668056971215c558fb2b1256c7b560931adde /common/Makefile | |
parent | 1f8690aa950ad1f42a64d07c4a31e47dcf1090b7 (diff) | |
download | u-boot-bf8940d35b91ef87e0e4e691c5d8cc356fcae035.tar.xz |
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 |