[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180524135335.6aa0b7a4@bbrezillon>
Date: Thu, 24 May 2018 13:53:35 +0200
From: Boris Brezillon <boris.brezillon@...tlin.com>
To: Benjamin Lindqvist <benjamin.lindqvist@...ian.se>
Cc: Stefan Agner <stefan@...er.ch>, dwmw2@...radead.org,
computersforpeace@...il.com, marek.vasut@...il.com,
robh+dt@...nel.org, mark.rutland@....com, thierry.reding@...il.com,
mturquette@...libre.com, sboyd@...nel.org,
Lucas Stach <dev@...xeye.de>, miquel.raynal@...tlin.com,
richard@....at, marcel@...wiler.com, krzk@...nel.org,
digetx@...il.com, jonathanh@...dia.com, pdeschrijver@...dia.com,
pgaikwad@...dia.com, Mirza Krak <mirza.krak@...il.com>,
linux-mtd@...ts.infradead.org, linux-tegra@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-clk@...r.kernel.org
Subject: Re: [RESEND PATCH 2/5] mtd: rawnand: add NVIDIA Tegra NAND Flash
controller driver
Hi Benjamin,
On Thu, 24 May 2018 13:30:14 +0200
Benjamin Lindqvist <benjamin.lindqvist@...ian.se> wrote:
> Hi Stefan,
>
> It seems to me that a probe similar to what the BootROM does shouldn't
> be awfully complicated to implement - just cycle through the switch
> cases in case of an ECC error. But I guess that's more of an idea for
> further improvements rather than a comment to the patch set under
> review.
Nope, not really an option, because you're not guaranteed that the NAND
will be used as a boot media, and the first page or first set of pages
might just be erased.
>
> However, I think that allowing for an override of the oobsize
> inference would be a good idea before merging, no? This could just be
> a trivial #ifdef (at least temporarily). If you agree but don't feel
> like doing it yourself, I'd be happy to pitch in. Let me know.
That's why we have nand-ecc-xxx properties in the DT.
Regards,
Boris
Powered by blists - more mailing lists