[PATCH] mtd: spi-nor: Parse SFDP Command Sequence to change to Octal DDR(8D-8D-8D) mode

Tudor.Ambarus at microchip.com Tudor.Ambarus at microchip.com
Tue Mar 15 19:40:46 CET 2022


On 3/15/22 10:45, liao jaime wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Hi
> 
>> Hi,
>>
>> On 3/10/22 08:59, JaimeLiao wrote:
>>> +static int spi_nor_generall_octal_dtr_enable(struct spi_nor *nor)
>>
>> Is there a disable method too? If not, can we deduce it?
> Because of difference with flash vendors, I think it is hard to deduce the
> method "spi_nor_generall_octal_dtr_disable".
>>

I've quickly skimmed through the code it seems that once octal is enabled
and you reset the board, the flash remains in octal mode if it doesn't
have a dedicated hardware reset line and the octal bit is non volatile.
This is bad because there might be ROMs that don't know 8d-8d-8d mode and
you'll break the boot sequence for them.


More information about the U-Boot mailing list