[U-Boot] [PATCH v2 20/24] mtd: nand: remove dependency on commands in Kconfig
Miquel Raynal
miquel.raynal at bootlin.com
Wed Nov 28 23:07:56 UTC 2018
Now that the defconfigs have been fixed, remove the dependencies on
commands in Kconfig. The necessary symbols are enabled so this will
not break anything.
Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
---
drivers/mtd/nand/Makefile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile
index 99ca69ef95..e5849dc02a 100644
--- a/drivers/mtd/nand/Makefile
+++ b/drivers/mtd/nand/Makefile
@@ -2,7 +2,5 @@
nandcore-objs := core.o bbt.o
obj-$(CONFIG_MTD_NAND_CORE) += nandcore.o
-ifneq (,$(findstring y,$(CONFIG_CMD_NAND)$(CONFIG_CMD_MTD)))
-obj-y += raw/
-endif
+obj-$(CONFIG_MTD_RAW_NAND) += raw/
obj-$(CONFIG_MTD_SPI_NAND) += spi/
--
2.19.1
More information about the U-Boot
mailing list