1 # SPDX-License-Identifier: GPL-2.0
3 nandcore-objs := core.o bbt.o
4 obj-$(CONFIG_MTD_NAND_CORE) += nandcore.o
5 obj-$(CONFIG_MTD_NAND_ECC_MEDIATEK) += ecc-mtk.o
11 nandcore-$(CONFIG_MTD_NAND_ECC) += ecc.o
12 nandcore-$(CONFIG_MTD_NAND_ECC_SW_HAMMING) += ecc-sw-hamming.o
13 nandcore-$(CONFIG_MTD_NAND_ECC_SW_BCH) += ecc-sw-bch.o
14 nandcore-$(CONFIG_MTD_NAND_ECC_MXIC) += ecc-mxic.o