summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-04-04 12:26:25 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-04-04 16:41:38 +0200
commit8f5b0e497a896160116b6e9db13c2b4d40401e0b (patch)
tree6b3c88bcfa8923428912c75427a4529c75b208ab /drivers/mtd/nand/Makefile
parenteb133335e6441e4dd6b69b7f14ea71abba593470 (diff)
downloadbarebox-8f5b0e497a896160116b6e9db13c2b4d40401e0b.tar.gz
barebox-8f5b0e497a896160116b6e9db13c2b4d40401e0b.tar.xz
nand: Make different ecc modes optional
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd/nand/Makefile')
-rw-r--r--drivers/mtd/nand/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile
index a322e003f6..a2f4b35f62 100644
--- a/drivers/mtd/nand/Makefile
+++ b/drivers/mtd/nand/Makefile
@@ -1,7 +1,10 @@
# Generic NAND options
-obj-$(CONFIG_NAND) += nand.o nand_ecc.o nand_hwecc.o nand_swecc.o nand_hwecc_syndrome.o
+obj-$(CONFIG_NAND) += nand.o nand_ecc.o
obj-$(CONFIG_NAND_WRITE) += nand_write.o
+obj-$(CONFIG_NAND_ECC_SOFT) += nand_ecc.o nand_swecc.o
+obj-$(CONFIG_NAND_ECC_HW) += nand_hwecc.o
+obj-$(CONFIG_NAND_ECC_HW_SYNDROME) += nand_hwecc_syndrome.o
obj-$(CONFIG_MTD_NAND_IDS) += nand_ids.o
obj-$(CONFIG_NAND) += nand_base.o nand_bbt.o