1# SPDX-License-Identifier: GPL-2.0
2
3nandcore-objs := core.o bbt.o
4obj-$(CONFIG_MTD_NAND_CORE) += nandcore.o
5obj-$(CONFIG_MTD_NAND_ECC_MEDIATEK) += ecc-mtk.o
6
7obj-y	+= onenand/
8obj-y	+= raw/
9obj-y	+= spi/
10
11nandcore-$(CONFIG_MTD_NAND_ECC) += ecc.o
12nandcore-$(CONFIG_MTD_NAND_ECC_SW_HAMMING) += ecc-sw-hamming.o
13nandcore-$(CONFIG_MTD_NAND_ECC_SW_BCH) += ecc-sw-bch.o
14nandcore-$(CONFIG_MTD_NAND_ECC_MXIC) += ecc-mxic.o
15