[U-Boot] [PATCH] mtd/spi: add support for is25lq040b

Sean Nyekjær sean.nyekjaer at prevas.dk
Mon Nov 20 10:47:50 UTC 2017



On 2017-10-30 07:34, Jagan Teki wrote:
> On Tue, Oct 17, 2017 at 12:32 PM, Sean Nyekjaer <sean.nyekjaer at prevas.dk> wrote:
>> Signed-off-by: Sean Nyekjaer <sean.nyekjaer at prevas.dk>
>> ---
>>   drivers/mtd/spi/spi_flash_ids.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c
>> index 13f64e773f..2cb0196065 100644
>> --- a/drivers/mtd/spi/spi_flash_ids.c
>> +++ b/drivers/mtd/spi/spi_flash_ids.c
>> @@ -70,6 +70,7 @@ const struct spi_flash_info spi_flash_ids[] = {
>>          {"is25lp032",      INFO(0x9d6016, 0x0, 64 * 1024,    64, 0) },
>>          {"is25lp064",      INFO(0x9d6017, 0x0, 64 * 1024,   128, 0) },
>>          {"is25lp128",      INFO(0x9d6018, 0x0, 64 * 1024,   256, 0) },
>> +       {"is25lq040b",     INFO(0x9d4013, 0x0, 64 * 1024,    64, SECT_4K) },
> Look like flash supporting 32K and bulk erase[1] why we need to add 4K flag?
>
> [1] http://www.issi.com/WW/pdf/25LQ025B-512B-010B-020B-040B.pdf
>
> thanks!
Correct :-)
I'll fix and push v1.
/Sean


More information about the U-Boot mailing list