summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-13 19:29:09 +0900
committerTom Rini <trini@ti.com>2014-11-23 06:49:03 -0500
commit167544e83ab357d74932fd1404d5d9f28a35a2af (patch)
treee3d0aafca4dd3e638cb10475a567a5969fd9f77b
parent60296a835cb176695a3ce3a50a843d2f03b77d32 (diff)
downloadu-boot-imx-167544e83ab357d74932fd1404d5d9f28a35a2af.zip
u-boot-imx-167544e83ab357d74932fd1404d5d9f28a35a2af.tar.gz
u-boot-imx-167544e83ab357d74932fd1404d5d9f28a35a2af.tar.bz2
spl: fix descending condition to drivers/mtd/nand/
SPL should not reference CONFIG_CMD_NAND to decide whether or not it should build drivers/mtd/nand. CONFIG_CMD_NAND should be only used to select the NAND utility command on the command parser. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
-rw-r--r--scripts/Makefile.spl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index 69f7c9f..342d82e 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -77,7 +77,7 @@ libs-y += fs/
libs-$(CONFIG_SPL_LIBGENERIC_SUPPORT) += lib/
libs-$(CONFIG_SPL_POWER_SUPPORT) += drivers/power/ drivers/power/pmic/
libs-$(CONFIG_SPL_MTD_SUPPORT) += drivers/mtd/
-libs-$(if $(CONFIG_CMD_NAND),$(CONFIG_SPL_NAND_SUPPORT)) += drivers/mtd/nand/
+libs-$(CONFIG_SPL_NAND_SUPPORT) += drivers/mtd/nand/
libs-$(CONFIG_SPL_DRIVERS_MISC_SUPPORT) += drivers/misc/
libs-$(CONFIG_SPL_ONENAND_SUPPORT) += drivers/mtd/onenand/
libs-$(CONFIG_SPL_DMA_SUPPORT) += drivers/dma/