u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali@kernel.org>
To: Scott Wood <oss@buserror.net>,
	u-boot@lists.denx.de, linux-mtd@lists.infradead.org
Subject: Have fsl_elbc_nand controllers subpage write support?
Date: Sun, 7 Aug 2022 14:00:27 +0200	[thread overview]
Message-ID: <20220807120027.2zz43afbqtqljhul@pali> (raw)

Hello Scott!

In past you disabled nand subpage write support for freescale eLBC and
IFC U-Boot nand drivers in following patch:
https://lore.kernel.org/u-boot/20121102234432.GA18129@buserror.net/

But in Linux kernel you disabled it only in freescale IFC nand driver:
https://lore.kernel.org/linux-mtd/20130410223437.GA26900@home.buserror.net/

letting kernel's freescale eLBC driver to have enabled subpage write
support.

I would like to ask, has freescale eLBC nand controller support for
subpage writes? Or not and it should be disabled also in kernel?

Or has somebody else these details?

The main issue is that U-Boot nand and UBI support for boards with eLBC
controllers is compatible with Linux kernel nand and UBI support because
these two drivers calculate UBI geometry differently. UBI header offset
is calculated from nand subpage size and nand subpage size obviously
depends on the fact if subpage write is supported or not.

I would like to fix this issue, but I do not know if wrong information
is in U-Boot driver or in Linux kernel driver.

             reply	other threads:[~2022-08-07 12:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-07 12:00 Pali Rohár [this message]
2022-08-07 14:13 ` Have fsl_elbc_nand controllers subpage write support? Pali Rohár
2022-08-13 10:36   ` Pali Rohár
2022-08-15  8:06     ` Pali Rohár

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=20220807120027.2zz43afbqtqljhul@pali \
    --to=pali@kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=oss@buserror.net \
    --cc=u-boot@lists.denx.de \
    /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;
as well as URLs for NNTP newsgroup(s).