[U-Boot] [PATCH 07/16] mtd: spi: Remove unused files

Vignesh R vigneshr at ti.com
Thu Dec 13 09:07:09 UTC 2018



On 13/12/18 2:08 AM, Jagan Teki wrote:
> On Wed, Dec 12, 2018 at 11:12 PM Vignesh R <vigneshr at ti.com> wrote:
>>
>> spi_flash and spi_flash_ids are no longer needed after SPI NOR
>> migration. Remove them.
>>
>> Signed-off-by: Vignesh R <vigneshr at ti.com>
>> ---
>>  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


More information about the U-Boot mailing list