Commit 167544e83ab357d74932fd1404d5d9f28a35a2af

Authored by Masahiro Yamada
Committed by Tom Rini
1 parent 60296a835c

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

scripts/Makefile.spl
... ... @@ -77,7 +77,7 @@
77 77 libs-$(CONFIG_SPL_LIBGENERIC_SUPPORT) += lib/
78 78 libs-$(CONFIG_SPL_POWER_SUPPORT) += drivers/power/ drivers/power/pmic/
79 79 libs-$(CONFIG_SPL_MTD_SUPPORT) += drivers/mtd/
80   -libs-$(if $(CONFIG_CMD_NAND),$(CONFIG_SPL_NAND_SUPPORT)) += drivers/mtd/nand/
  80 +libs-$(CONFIG_SPL_NAND_SUPPORT) += drivers/mtd/nand/
81 81 libs-$(CONFIG_SPL_DRIVERS_MISC_SUPPORT) += drivers/misc/
82 82 libs-$(CONFIG_SPL_ONENAND_SUPPORT) += drivers/mtd/onenand/
83 83 libs-$(CONFIG_SPL_DMA_SUPPORT) += drivers/dma/