From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 08/16] tegra: nand: fix read_byte required for proper onfi detection
Date: Mon, 27 Jul 2015 21:17:42 -0500 [thread overview]
Message-ID: <1438049862.2993.322.camel@freescale.com> (raw)
In-Reply-To: <67338B22-5874-48BF-982B-5E1D5F84A2BA@ziswiler.com>
On Tue, 2015-07-28 at 04:05 +0200, Marcel Ziswiler wrote:
> On 27 July 2015 22:00:15 CEST, Scott Wood <scottwood@freescale.com> wrote:
> > On Tue, 2015-07-21 at 00:35 +0200, Marcel Ziswiler wrote:
> > > From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> > >
> > > Fix PIO read_byte() implementation not only used for the legacy READ
> > ID
> > > but also the PARAM command now required for proper ONFI detection.
> > >
> > > This fix is inspired by Lucas Stach's Linux Tegra NAND driver of
> > late.
> >
> > Could you explain a bit more how this fixes issues with READ PARAM?
>
> I vaguely remember that those commands are special on 16-bit bus NAND (e.g.
> always return 8-bit data regardless) and later Linux MTD fixed/changed the
> way this is handled which in turn broke once U-Boot pulled that in. Which
> as explained in my commit message this fixes by doing what Lucas does in
> Linux (not mainline yet but getting there soon I hope).
The more detail about this you can put in the changelog (describing what it
is that Lucas does and how it helps), the better.
> > > While at it also disable subpage writes.
> >
> > Why are these two changes combined?
>
> Well just because it's a one line fix but if required I can split that in a
> separate patch as well.
I think it should be separate, at least so it gets a separate changelog
explaining why.
-Scott
next prev parent reply other threads:[~2015-07-28 2:17 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-20 22:35 [U-Boot] [PATCH v2 00/16] assortment of tegra fixes/enhancements Marcel Ziswiler
2015-07-20 22:35 ` [U-Boot] [PATCH v2 01/16] ARM: tegra: allow custom usb manufacturer/product/vendor ids/strings Marcel Ziswiler
2015-07-20 22:35 ` [U-Boot] [PATCH v2 02/16] ARM: tegra: allow reading recovery mode boot type Marcel Ziswiler
2015-07-20 22:35 ` [U-Boot] [PATCH v2 03/16] apalis/colibri_t20/t30: integrate recovery mode detection Marcel Ziswiler
2015-07-20 22:35 ` [U-Boot] [PATCH v2 04/16] colibri_t20: fix device-tree compatible node Marcel Ziswiler
2015-07-20 22:35 ` [U-Boot] [PATCH v2 05/16] colibri_t20: add lcd display support Marcel Ziswiler
2015-07-20 22:35 ` [U-Boot] [PATCH v2 06/16] colibri_t20: add i2c support Marcel Ziswiler
2015-07-20 22:35 ` [U-Boot] [PATCH v2 07/16] colibri_t20: disable PMIC sleep mode on low supply voltage Marcel Ziswiler
2015-07-20 22:35 ` [U-Boot] [PATCH v2 08/16] tegra: nand: fix read_byte required for proper onfi detection Marcel Ziswiler
2015-07-27 20:00 ` Scott Wood
2015-07-28 2:05 ` Marcel Ziswiler
2015-07-28 2:17 ` Scott Wood [this message]
2015-07-20 22:35 ` [U-Boot] [PATCH v2 09/16] mtd/nand/tegra: alignment workaround Marcel Ziswiler
2015-07-27 19:57 ` Scott Wood
2015-07-27 23:28 ` Simon Glass
2015-07-27 23:32 ` Scott Wood
2015-07-28 2:09 ` Marcel Ziswiler
2015-07-28 1:55 ` Marcel Ziswiler
2015-07-28 2:15 ` Scott Wood
2015-08-05 22:12 ` Marcel Ziswiler
2015-08-05 22:16 ` Scott Wood
2015-07-20 22:35 ` [U-Boot] [PATCH v2 10/16] colibri_t20: enable mtdparts support Marcel Ziswiler
2015-07-20 22:35 ` [U-Boot] [PATCH v2 11/16] colibri_t20: enable ubi/ubifs support Marcel Ziswiler
2015-07-20 22:35 ` [U-Boot] [PATCH v2 12/16] apalis/colibri_t20/t30: enable raw initrd support Marcel Ziswiler
2015-07-27 19:45 ` Stephen Warren
2015-07-28 1:27 ` Marcel Ziswiler
2015-07-20 22:35 ` [U-Boot] [PATCH v2 13/16] apalis/colibri_t20/t30: increase tftp blocksize Marcel Ziswiler
2015-07-27 19:46 ` Stephen Warren
2015-07-28 1:38 ` Marcel Ziswiler
2015-07-20 22:35 ` [U-Boot] [PATCH v2 14/16] apalis/colibri_t20/30: clean-up Marcel Ziswiler
2015-07-20 22:35 ` [U-Boot] [PATCH v2 15/16] colibri_t20: fix reset out pin Marcel Ziswiler
2015-07-20 22:35 ` [U-Boot] [PATCH v2 16/16] apalis/colibri_t30: fix usb dm regression Marcel Ziswiler
2015-07-27 19:48 ` Stephen Warren
2015-07-28 1:44 ` Marcel Ziswiler
2015-07-27 19:49 ` [U-Boot] [PATCH v2 00/16] assortment of tegra fixes/enhancements Stephen Warren
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=1438049862.2993.322.camel@freescale.com \
--to=scottwood@freescale.com \
--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