diff options
author | Tom Rini <trini@ti.com> | 2014-03-28 12:03:37 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-04-17 14:39:54 -0400 |
commit | db605806496cea6d6a82032b2f9ae1628ae7778d (patch) | |
tree | 99ffccebb4ca3999649422782dbf612cfb7cbe81 /drivers/mtd/nand | |
parent | 6dd3b566893a99629771e076dca1ce8db7b77dc1 (diff) | |
download | u-boot-imx-db605806496cea6d6a82032b2f9ae1628ae7778d.zip u-boot-imx-db605806496cea6d6a82032b2f9ae1628ae7778d.tar.gz u-boot-imx-db605806496cea6d6a82032b2f9ae1628ae7778d.tar.bz2 |
mtd: Build nand_util.o for CONFIG_ENV_IS_IN_NAND in SPL
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index 02b149c..4eb354d 100644 --- a/drivers/mtd/nand/Makefile +++ b/drivers/mtd/nand/Makefile @@ -18,6 +18,9 @@ obj-$(CONFIG_SPL_NAND_LOAD) += nand_spl_load.o obj-$(CONFIG_SPL_NAND_ECC) += nand_ecc.o obj-$(CONFIG_SPL_NAND_BASE) += nand_base.o obj-$(CONFIG_SPL_NAND_INIT) += nand.o +ifeq ($(CONFIG_SPL_ENV_SUPPORT),y) +obj-$(CONFIG_ENV_IS_IN_NAND) += nand_util.o +endif else # not spl |