summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi-nor/Makefile
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2020-03-13 22:42:37 +0300
committerTudor Ambarus <tudor.ambarus@microchip.com>2020-03-16 19:28:53 +0300
commitcb481b92d10fdb0027c7f96576b640c28a5e4179 (patch)
tree766ec3a6fe7038a2c44e56071e252943b5b22d96 /drivers/mtd/spi-nor/Makefile
parenta0900d0195d2dcce464f4109445a788d5860b970 (diff)
downloadlinux-cb481b92d10fdb0027c7f96576b640c28a5e4179.tar.xz
mtd: spi-nor: Move SFDP logic out of the core
It makes the core file a bit smaller and provides better separation between the SFDP parsing and core logic. Keep the core.h and sfdp.h definitions private in drivers/mtd/spi-nor/. Both expose just the definitions that are required by the core and manufacturer drivers. None of the SPI NOR controller drivers should include them. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'drivers/mtd/spi-nor/Makefile')
-rw-r--r--drivers/mtd/spi-nor/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi-nor/Makefile b/drivers/mtd/spi-nor/Makefile
index d6fc70ab4a32..6bcdb6f1615a 100644
--- a/drivers/mtd/spi-nor/Makefile
+++ b/drivers/mtd/spi-nor/Makefile
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
-spi-nor-objs := core.o
+spi-nor-objs := core.o sfdp.o
obj-$(CONFIG_MTD_SPI_NOR) += spi-nor.o