From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vignesh R Date: Thu, 13 Dec 2018 14:37:09 +0530 Subject: [U-Boot] [PATCH 07/16] mtd: spi: Remove unused files In-Reply-To: References: <20181212173228.12281-1-vigneshr@ti.com> <20181212173228.12281-8-vigneshr@ti.com> Message-ID: <470062c2-e81e-cfdf-d3d7-adf36c3225ca@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 13/12/18 2:08 AM, Jagan Teki wrote: > On Wed, Dec 12, 2018 at 11:12 PM Vignesh R wrote: >> >> spi_flash and spi_flash_ids are no longer needed after SPI NOR >> migration. Remove them. >> >> Signed-off-by: Vignesh R >> --- >> drivers/mtd/spi/spi_flash.c | 1337 ------------------------------- >> drivers/mtd/spi/spi_flash_ids.c | 211 ----- > > Better to keep this by renaming and other licesnes, ie what I did > before. It's good for maintaining ids separately instead of having in > one big spi-nor file. > Flash ID table is refactored to separate file spi-nor-ids.c as part of 8/16. Its daunting task to update spi_flash_ids.c file to work with Linux's spi-nor layer due to differences in flags and addition of new SPI_NOR_4B_OPCODES flag. I can re-add copyright next time around as some of the information is borrowed from existing spi_flash_ids.c -- Regards Vignesh