summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi-nor/Makefile
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2021-03-22 10:51:30 +0300
committerTudor Ambarus <tudor.ambarus@microchip.com>2021-03-31 22:41:34 +0300
commitc4c795105f2924c80752c30ffd3c7029a8e0ef28 (patch)
treeeae6e43705d4cd33b6dbd2433bcdcb96417fbb00 /drivers/mtd/spi-nor/Makefile
parent79321e752aff36569fb2b5b121f6e1dca9fc5f74 (diff)
downloadlinux-c4c795105f2924c80752c30ffd3c7029a8e0ef28.tar.xz
mtd: spi-nor: Move Software Write Protection logic out of the core
It makes the core file a bit smaller and provides better separation between the Software Write Protection features and the core logic. All the next generic software write protection features (e.g. Individual Block Protection) will reside in swp.c. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Reviewed-by: Michael Walle <michael@walle.cc> Acked-by: Pratyush Yadav <p.yadav@ti.com> Link: https://lore.kernel.org/r/20210322075131.45093-2-tudor.ambarus@microchip.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 653923896205..da05b03f28d2 100644
--- a/drivers/mtd/spi-nor/Makefile
+++ b/drivers/mtd/spi-nor/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
-spi-nor-objs := core.o sfdp.o
+spi-nor-objs := core.o sfdp.o swp.o
spi-nor-objs += atmel.o
spi-nor-objs += catalyst.o
spi-nor-objs += eon.o