summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/spi/Makefile
diff options
context:
space:
mode:
authorJagan Teki <jteki@openedev.com>2015-09-29 19:16:29 +0530
committerJagan Teki <jteki@openedev.com>2015-12-11 22:12:23 +0530
commitfc335d63b06dc81db45acc77358bdedeeca737c8 (patch)
tree1968ff1cdd7fd45ae35ae5eff940e190d224fcba /drivers/mtd/spi/Makefile
parent6fa40e796c212998cd9e3d4a8d192392d0623826 (diff)
downloadtalos-obmc-uboot-fc335d63b06dc81db45acc77358bdedeeca737c8.tar.gz
talos-obmc-uboot-fc335d63b06dc81db45acc77358bdedeeca737c8.zip
sf: Fix Makefile
This patch removes unneeded ifdef and fixed accordingly. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'drivers/mtd/spi/Makefile')
-rw-r--r--drivers/mtd/spi/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/mtd/spi/Makefile b/drivers/mtd/spi/Makefile
index cf4e7e1f42..a24f7612ac 100644
--- a/drivers/mtd/spi/Makefile
+++ b/drivers/mtd/spi/Makefile
@@ -12,11 +12,7 @@ obj-$(CONFIG_SPL_SPI_LOAD) += spi_spl_load.o
obj-$(CONFIG_SPL_SPI_BOOT) += fsl_espi_spl.o
endif
-#ifndef CONFIG_DM_SPI
-obj-$(CONFIG_SPI_FLASH) += sf_probe.o
-#endif
-obj-$(CONFIG_CMD_SF) += sf.o
-obj-$(CONFIG_SPI_FLASH) += sf_ops.o sf_params.o
+obj-$(CONFIG_SPI_FLASH) += sf_probe.o sf_ops.o sf_params.o sf.o
obj-$(CONFIG_SPI_FLASH_DATAFLASH) += sf_dataflash.o
obj-$(CONFIG_SPI_FLASH_MTD) += sf_mtd.o
obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o
OpenPOWER on IntegriCloud