Re: [PATCH 03/23] mtd: spi-nor: Move SFDP logic out of the core

From: Boris Brezillon
Date: Sat Mar 07 2020 - 09:51:18 EST


On Mon, 2 Mar 2020 18:07:46 +0000
<Tudor.Ambarus@xxxxxxxxxxxxx> wrote:

> From: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>

Reviewed-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx>