public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Boris Brezillon <boris.brezillon@bootlin.com>
To: Ashish Kumar <ashish.kumar@nxp.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	"boris.brezillon@free-electrons.com"
	<boris.brezillon@free-electrons.com>
Subject: Re: Query| USE of MTD_CFI_ADV_OPTIONS for SPI-NOR/serial-NOR flash for BE-kernel on arm64
Date: Tue, 4 Sep 2018 14:38:01 +0200	[thread overview]
Message-ID: <20180904143801.36297bb6@bbrezillon> (raw)
In-Reply-To: <VI1PR04MB4015390D61A2AA4F289CE15D95030@VI1PR04MB4015.eurprd04.prod.outlook.com>

Hi Ashish,

On Tue, 4 Sep 2018 11:21:11 +0000
Ashish Kumar <ashish.kumar@nxp.com> wrote:

> Hi all,
> 
> I may sound very naïve, but I do not have other options to look for.
> What I was trying to achieve was "running BE-kernel on arm64, with the SPI-NOR controller(fsl_qspi) configured for AHB and IP buffer in BE mode. It works to an extent but not all is working correctly.

Could you detail what is working and what is not?

> 
> I was grep-ing through /driver/mtd/ and include/linux/mtd to look for these advance option(MTD_CFI_ADV_OPTIONS) to be used for SPI-NOR interface, is there a way this(MTD_CFI_BE_BYTE_SWAP) can be achieved for SPI-NOR flash?
> 
> Is anyone working on this, or similar thing?

That's not the proper fix. If you want you driver to work in
big-endian, fix the driver.

Regards,

Boris

       reply	other threads:[~2018-09-04 12:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <VI1PR04MB4015390D61A2AA4F289CE15D95030@VI1PR04MB4015.eurprd04.prod.outlook.com>
2018-09-04 12:38 ` Boris Brezillon [this message]
2018-09-04 11:23 Query| USE of MTD_CFI_ADV_OPTIONS for SPI-NOR/serial-NOR flash for BE-kernel on arm64 Ashish Kumar

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=20180904143801.36297bb6@bbrezillon \
    --to=boris.brezillon@bootlin.com \
    --cc=ashish.kumar@nxp.com \
    --cc=boris.brezillon@free-electrons.com \
    --cc=linux-mtd@lists.infradead.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