summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/onenand/Makefile
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-02-18 17:05:16 +0100
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-03-15 15:40:37 +0100
commit26777d37216c976cf6fd196700133a38aa2c4b0f (patch)
tree73199fbe5fba118d48421b21bfdb110d21c03532 /drivers/mtd/nand/onenand/Makefile
parent801492c508f617d5bdc383b98b4a49d7de90c154 (diff)
mtd: Move onenand code base to drivers/mtd/nand/onenand
Move onenand code base to the drivers/mtd/nand directory in the hope that someday someone will patch it to use the generic NAND helpers. If it never happens, at least we'll have all NAND related support in a single directory and not spread over the drivers/mtd/ directory. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/onenand/Makefile')
-rw-r--r--drivers/mtd/nand/onenand/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/mtd/nand/onenand/Makefile b/drivers/mtd/nand/onenand/Makefile
new file mode 100644
index 000000000000..f8b624aca9cc
--- /dev/null
+++ b/drivers/mtd/nand/onenand/Makefile
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Makefile for the OneNAND MTD
+#
+
+# Core functionality.
+obj-$(CONFIG_MTD_ONENAND) += onenand.o
+
+# Board specific.
+obj-$(CONFIG_MTD_ONENAND_GENERIC) += generic.o
+obj-$(CONFIG_MTD_ONENAND_OMAP2) += omap2.o
+obj-$(CONFIG_MTD_ONENAND_SAMSUNG) += samsung.o
+
+onenand-objs = onenand_base.o onenand_bbt.o