Re: [PATCH] mtd: spi-nor: Address the Macronix flash probe failure

2024-11-15 Thread Tom Rini
On Fri, Nov 15, 2024 at 10:36:56AM +0530, Venkatesh Yadav Abbarapu wrote: > When performing a soft reset on the OSPI flash, the default > cmd_ext_type is set to SPI_NOR_EXT_REPEAT. However, Macronix > flash requires the command type SPI_NOR_EXT_INVERT for soft > reset. > > To address this issue,

[PATCH] mtd: spi-nor: Address the Macronix flash probe failure

2024-11-14 Thread Venkatesh Yadav Abbarapu
When performing a soft reset on the OSPI flash, the default cmd_ext_type is set to SPI_NOR_EXT_REPEAT. However, Macronix flash requires the command type SPI_NOR_EXT_INVERT for soft reset. To address this issue, read the Manufacturer ID from the flash. If the Manufacturer ID indicates Macronix, the