summaryrefslogtreecommitdiff
path: root/spl/Makefile
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-03-28 12:03:36 -0400
committerTom Rini <trini@ti.com>2014-04-17 14:39:54 -0400
commit6dd3b566893a99629771e076dca1ce8db7b77dc1 (patch)
tree8feeabc13bb6ab33a53a65ba40578ff4bd2ed8e6 /spl/Makefile
parent39b924a30465be6cc5ed009b4983cbc8c525e665 (diff)
downloadu-boot-imx-6dd3b566893a99629771e076dca1ce8db7b77dc1.zip
u-boot-imx-6dd3b566893a99629771e076dca1ce8db7b77dc1.tar.gz
u-boot-imx-6dd3b566893a99629771e076dca1ce8db7b77dc1.tar.bz2
mtd: Add a CONFIG_SPL_MTD_SUPPORT for a more full NAND subsystem in SPL
This mainly converts the am335x_spl_bch driver to the "normal" format which means a slight change to nand_info within the driver. Acked-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'spl/Makefile')
-rw-r--r--spl/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/spl/Makefile b/spl/Makefile
index 6fec252..a4d9737 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -104,6 +104,7 @@ libs-$(CONFIG_SPL_SPI_SUPPORT) += drivers/spi/
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_DRIVERS_MISC_SUPPORT) += drivers/misc/
libs-$(CONFIG_SPL_ONENAND_SUPPORT) += drivers/mtd/onenand/