Add Broadcom / Netgear changes from RAXE 1.0.0.48
[project/bcm63xx/u-boot.git] / drivers / mtd / nand / raw / brcmnand / Makefile
index a2363cc80e889fda1fb214f9c4d0b39bf3f86cf0..17550e171cf90d9d381f87a95480e39346d57dd6 100644 (file)
@@ -1,7 +1,11 @@
 # SPDX-License-Identifier: GPL-2.0+
 
+ifdef CONFIG_SPL_BUILD
+obj-$(CONFIG_NAND_BRCMNAND) += brcmnand_spl.o
+else
 obj-$(CONFIG_NAND_BRCMNAND_63158) += bcm63158_nand.o
 obj-$(CONFIG_NAND_BRCMNAND_6838) += bcm6838_nand.o
-obj-$(CONFIG_NAND_BRCMNAND_6858) += bcm6858_nand.o
 obj-$(CONFIG_NAND_BRCMNAND) += brcmnand.o
 obj-$(CONFIG_NAND_BRCMNAND) += brcmnand_compat.o
+obj-$(CONFIG_NAND_BRCMNAND) += bcmbca_nand.o
+endif