[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <963232a4-9100-ebca-927c-7f5a1e947fbe@ti.com>
Date: Mon, 8 Mar 2021 22:58:25 +0530
From: Vignesh Raghavendra <vigneshr@...com>
To: Tudor Ambarus <tudor.ambarus@...rochip.com>, <p.yadav@...com>,
<michael@...le.cc>
CC: <linux-mtd@...ts.infradead.org>, <miquel.raynal@...tlin.com>,
<richard@....at>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 4/5] mtd: spi-nor: Move Software Write Protection logic
out of the core
On 3/6/21 3:20 PM, Tudor Ambarus wrote:
> 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@...rochip.com>
> ---
> drivers/mtd/spi-nor/Makefile | 2 +-
> drivers/mtd/spi-nor/core.c | 407 +---------------------------------
> drivers/mtd/spi-nor/core.h | 4 +
> drivers/mtd/spi-nor/swp.c | 419 +++++++++++++++++++++++++++++++++++
Hmmm, name swp.c does not seem intuitive to me. How about expanding it a
bit:
soft-wr-protect.c or software-write-protect.c ?
Regards
Vignesh
Powered by blists - more mailing lists