[PATCH 1/2] mtd: spi-nor: introduce SNOR_ID3()

Biju Das biju.das.jz at bp.renesas.com
Fri Jul 15 05:19:34 PDT 2022


On 10/05/22 04:02PM, Michael Walle wrote:
> Up until now, flashes were defined by specifying the JEDEC ID, the
> sector size and the number of sectors. This can be read by parsing the
> SFDP, we don't have to specify it. Thus provide a new macro SNOR_ID3()
> which just takes the JEDEC ID and implicitly set .parse_sfdp = true. All
> new flashes which have SFDP should use this macro.
> 
> Signed-off-by: Michael Walle <michael at walle.cc>

Tested the macro with Renesas AT25QL128A serial nor flash. So,

Tested-by: Biju Das <biju.das.jz at bp.renesas.com>



More information about the linux-mtd mailing list