Skip to content

Commit c4c7951

Browse files
committed
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
1 parent 79321e7 commit c4c7951

4 files changed

Lines changed: 432 additions & 404 deletions

File tree

drivers/mtd/spi-nor/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0
22

3-
spi-nor-objs := core.o sfdp.o
3+
spi-nor-objs := core.o sfdp.o swp.o
44
spi-nor-objs += atmel.o
55
spi-nor-objs += catalyst.o
66
spi-nor-objs += eon.o

0 commit comments

Comments
 (0)