aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/Makefile
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-08-16 17:30:09 +0200
committerJagan Teki <jagan@amarulasolutions.com>2018-09-20 20:10:49 +0530
commitb95db8d33a1e920801816e47ffc5c6f18acce024 (patch)
tree68735ba8b28efca80c274872feef911df2d888df /drivers/mtd/nand/Makefile
parent3657b2f4a309ed2e527c805333f9485757912397 (diff)
downloadu-boot-b95db8d33a1e920801816e47ffc5c6f18acce024.zip
u-boot-b95db8d33a1e920801816e47ffc5c6f18acce024.tar.gz
u-boot-b95db8d33a1e920801816e47ffc5c6f18acce024.tar.bz2
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> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'drivers/mtd/nand/Makefile')
-rw-r--r--drivers/mtd/nand/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile
index 69f40d1..cd492db 100644
--- a/drivers/mtd/nand/Makefile
+++ b/drivers/mtd/nand/Makefile
@@ -1,2 +1,4 @@
# SPDX-License-Identifier: GPL-2.0+
+nandcore-objs := core.o bbt.o
+obj-$(CONFIG_MTD_NAND_CORE) += nandcore.o