summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/Makefile
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-02-05 23:02:05 +0100
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-02-16 10:10:53 +0100
commit9c3736a3de21d916a6af0594418b85a112f4bef6 (patch)
tree7832ee20e3b498b5ca4b68b2b2b9383779d8ead1 /drivers/mtd/nand/Makefile
parent93db446a424cee9387b532995e6b516667079555 (diff)
mtd: nand: Add core infrastructure to deal with NAND devices
Add an intermediate layer to abstract NAND device interface so that some logic can be shared between SPI NANDs, parallel/raw NANDs, OneNANDs, ... Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/Makefile')
-rw-r--r--drivers/mtd/nand/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile
index 32af7168c5ba..a72d3cb0f325 100644
--- a/drivers/mtd/nand/Makefile
+++ b/drivers/mtd/nand/Makefile
@@ -1,3 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
+nandcore-objs := core.o bbt.o
+obj-$(CONFIG_MTD_NAND_CORE) += nandcore.o
+
obj-y += raw/