Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tudor Ambarus <tudor.ambarus@linaro.org>
To: Michael Walle <michael@walle.cc>
Cc: Jaime Liao <jaimeliao.tw@gmail.com>,
	linux-mtd@lists.infradead.org, pratyush@kernel.org,
	miquel.raynal@bootlin.com, leoyu@mxic.com.tw
Subject: Re: [PATCH v1 0/2] Add octal DTR support for Macronix flash
Date: Tue, 25 Jul 2023 09:47:05 +0100	[thread overview]
Message-ID: <be262828-b36b-1d2b-519c-c6951b063aac@linaro.org> (raw)
In-Reply-To: <e2058fb379fb0b0d80b2b8c0d07c23ce@walle.cc>



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@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.

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply	other threads:[~2023-07-25  8:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-25  2:23 [PATCH v1 0/2] Add octal DTR support for Macronix flash Jaime Liao
2023-07-25  2:23 ` [PATCH v1 1/2] mtd: spi-nor: add Octal " Jaime Liao
2023-07-25  7:16   ` Michael Walle
2023-07-25  9:05     ` liao jaime
2023-07-25  9:28       ` Michael Walle
2023-07-25  9:49         ` liao jaime
2023-07-25  2:23 ` [PATCH v1 2/2] mtd: spi-nor: add support for Macronix Octal flash Jaime Liao
2023-07-25  7:40   ` Michael Walle
2023-07-25  9:21     ` liao jaime
2023-07-25  9:39       ` Michael Walle
2023-07-25  9:55         ` liao jaime
2023-07-25  8:01 ` [PATCH v1 0/2] Add octal DTR support for Macronix flash Tudor Ambarus
2023-07-25  8:28   ` Michael Walle
2023-07-25  8:47     ` Tudor Ambarus [this message]
2023-07-25  9:25       ` liao jaime
2023-07-25 10:50         ` Tudor Ambarus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=be262828-b36b-1d2b-519c-c6951b063aac@linaro.org \
    --to=tudor.ambarus@linaro.org \
    --cc=jaimeliao.tw@gmail.com \
    --cc=leoyu@mxic.com.tw \
    --cc=linux-mtd@lists.infradead.org \
    --cc=michael@walle.cc \
    --cc=miquel.raynal@bootlin.com \
    --cc=pratyush@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox