[PATCH v1 0/2] Add octal DTR support for Macronix flash

Tudor Ambarus tudor.ambarus at linaro.org
Tue Jul 25 01:47:05 PDT 2023



On 7/25/23 09:28, Michael Walle wrote:
> Am 2023-07-25 10:01, schrieb Tudor Ambarus:
>> On 7/25/23 03:23, Jaime Liao wrote:
>>> From: JaimeLiao <jaimeliao.tw at gmail.com>
>>>
>>> This series add method for Macronix Octal DTR Eable/Disable
>>> and add Macronix Octal flash support.
>>
>> Do all these flashes swap the bytes in octal DTR mode? If yes,
>> you should add the infrastructure so that controllers can swap
>> the bytes back, otherwise you'll break bootloaders which work
>> in 1-1-1 mode, and breaking the boot chain is unacceptable.
> 
> It might also be the SPI controller. Was the zynq SPI controller
> used before with octal flashes?
> 

No, it's the macronix flashes that swap the bytes by default. At least
the one which I've worked with few years ago. Some controllers can
swap the bytes back, but they have to be informed from mtd.



More information about the linux-mtd mailing list