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