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: NTudor Ambarus <tudor.ambarus@microchip.com> Reviewed-by: NBoris Brezillon <boris.brezillon@collabora.com> Reviewed-by: NVignesh Raghavendra <vigneshr@ti.com>
Showing
drivers/mtd/spi-nor/core.h
0 → 100644
drivers/mtd/spi-nor/sfdp.c
0 → 100644
此差异已折叠。
drivers/mtd/spi-nor/sfdp.h
0 → 100644
想要评论请 注册 或 登录