[PATCH v2 2/2] mtd: spi-nor: Add Renesas AT25QL128A serial nor flash
Michael Walle
michael at walle.cc
Thu Jul 21 02:43:04 PDT 2022
Am 2022-07-21 11:39, schrieb Tudor.Ambarus at microchip.com:
>> cat
>> /sys/devices/platform/soc/10060000.spi/rpc-if-spi/spi_master/spi1/spi1.0/spi-nor/jedec_id
>> 1f42181f4218
>>
>> This result is not matching 1f4218->1f42181f4218
>
> here it looks like the ID is sent twice.
That is expected. We don't know how long the id is so
SPI_NOR_MAX_ID_LEN bytes are read for now.
Some flashes will send additional information, some don't and
just repeat the pattern.
It's up to the userspace to interpret that.
-michael
More information about the linux-arm-kernel
mailing list