diff options
author | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2013-09-24 16:03:45 +0530 |
---|---|---|
committer | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2013-10-07 17:55:46 +0530 |
commit | af1679bc30b11b90f9f6650d211b3fe350f4044f (patch) | |
tree | 4eb45c96c0033170478422648ae42eb40ac41d96 /drivers/mtd/spi/Makefile | |
parent | 7ab35d922d80e151f9fe6a785a736b0d8612c589 (diff) | |
download | u-boot-imx-af1679bc30b11b90f9f6650d211b3fe350f4044f.zip u-boot-imx-af1679bc30b11b90f9f6650d211b3fe350f4044f.tar.gz u-boot-imx-af1679bc30b11b90f9f6650d211b3fe350f4044f.tar.bz2 |
sf: ramtron: Add support for separate flash driver
Compared to other spi flashes, ramtron has a different
probing and implementation on flash ops, hence moved
ramtron probe code into ramtron driver.
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Diffstat (limited to 'drivers/mtd/spi/Makefile')
-rw-r--r-- | drivers/mtd/spi/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mtd/spi/Makefile b/drivers/mtd/spi/Makefile index a10c850..2605e57 100644 --- a/drivers/mtd/spi/Makefile +++ b/drivers/mtd/spi/Makefile @@ -14,7 +14,10 @@ COBJS-$(CONFIG_SPL_SPI_LOAD) += spi_spl_load.o COBJS-$(CONFIG_SPL_SPI_BOOT) += fsl_espi_spl.o endif -COBJS-$(CONFIG_SPI_FLASH) += spi_flash_probe_legacy.o spi_flash_ops.o spi_flash.o +ifdef CONFIG_CMD_SF +COBJS-y += spi_flash.o +endif +COBJS-$(CONFIG_SPI_FLASH) += spi_flash_probe.o spi_flash_ops.o COBJS-$(CONFIG_SPI_FLASH_ATMEL) += atmel.o COBJS-$(CONFIG_SPI_FLASH_EON) += eon.o COBJS-$(CONFIG_SPI_FLASH_GIGADEVICE) += gigadevice.o |