[PATCH] mtd: spi-nor: micron-st: Add support for mt25qu01g

Tudor Ambarus tudor.ambarus at linaro.org
Tue Oct 24 08:53:37 PDT 2023



On 10/24/23 16:47, Fabio Estevam wrote:
> Hi Michael,
> 
> On Tue, Oct 24, 2023 at 10:59 AM Michael Walle <michael at walle.cc> wrote:
> 
>> You'd need to change the core to assume there is no chip
>> erase support if "n_dice > 1". So first step would be that
>> your SPI flash will successfully parse the SFDP and set n_dice
>> correctly. Then adapt the core to set SNOR_F_NO_OP_CHIP_ERASE
>> if "n_dice > 1".
>> The goal here is to avoid any entry in our database at all and
>> support this flash out of the box by just parsing SFDP correctly.
> 
> Where in SFDP is located the information about the number of dies?

drivers/mtd/spi-nor/sfdp.c, search for n_dice. spi_nor_parse_sccr_mc()



More information about the linux-mtd mailing list