Re: [PATCH v2] mtd: spi-nor: Add support for BoHong bh25q128as

From: Tudor Ambarus
Date: Mon Feb 26 2024 - 04:34:42 EST




On 26.02.2024 10:51, Michael Walle wrote:
> Hi,
>
> On Sat Feb 24, 2024 at 12:18 PM CET, Christian Marangi wrote:
>> The user just tested this and It seems there is a problem in JEDEC id?
>>
>> [ 0.726451] spi spi0.0: setup: ignoring unsupported mode bits a00
>
> What SPI controller is used in this case?
>
>> [ 0.732850] spi-nor spi0.0: unrecognized JEDEC id bytes: 68 40 18 68 40 18
>> [ 0.739725] spi-nor: probe of spi0.0 failed with error -2
>
> And what kernel version is this? This should only happen if the SFDP
> header is wrong, but according to your dump, it is correct.
>

I assume the test was done on an older kernel, where the identification
of the flash based on SFDP is not yet available.