mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 09:43:59 +08:00
b35b9a1036
The m25p80 driver is actually a generic wrapper around the spi-mem layer. Not only the driver name is misleading, but we'd expect such a common logic to be directly available in the core. Another reason for moving this code is that SPI NOR controller drivers should progressively be replaced by SPI controller drivers implementing the spi_mem_ops interface, and when the conversion is done, we should have a single spi-nor driver directly interfacing with the spi-mem layer. While moving the code we also fix a longstanding issue when non-DMA-able buffers are passed by the MTD layer. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
24 lines
727 B
Makefile
24 lines
727 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# linux/drivers/mtd/devices/Makefile
|
|
#
|
|
|
|
obj-$(CONFIG_MTD_DOCG3) += docg3.o
|
|
obj-$(CONFIG_MTD_SLRAM) += slram.o
|
|
obj-$(CONFIG_MTD_PHRAM) += phram.o
|
|
obj-$(CONFIG_MTD_PMC551) += pmc551.o
|
|
obj-$(CONFIG_MTD_MS02NV) += ms02-nv.o
|
|
obj-$(CONFIG_MTD_MTDRAM) += mtdram.o
|
|
obj-$(CONFIG_MTD_LART) += lart.o
|
|
obj-$(CONFIG_MTD_BLOCK2MTD) += block2mtd.o
|
|
obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o
|
|
obj-$(CONFIG_MTD_MCHP23K256) += mchp23k256.o
|
|
obj-$(CONFIG_MTD_SPEAR_SMI) += spear_smi.o
|
|
obj-$(CONFIG_MTD_SST25L) += sst25l.o
|
|
obj-$(CONFIG_MTD_BCM47XXSFLASH) += bcm47xxsflash.o
|
|
obj-$(CONFIG_MTD_ST_SPI_FSM) += st_spi_fsm.o
|
|
obj-$(CONFIG_MTD_POWERNV_FLASH) += powernv_flash.o
|
|
|
|
|
|
CFLAGS_docg3.o += -I$(src)
|