From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c7HYg-0007Bh-RU for linux-mtd@lists.infradead.org; Thu, 17 Nov 2016 07:56:35 +0000 Date: Thu, 17 Nov 2016 08:56:03 +0100 From: Boris Brezillon To: Peter Pan Cc: Richard Weinberger , linux-mtd@lists.infradead.org, David Woodhouse , Brian Norris , Ezequiel Garcia , linux-kernel@vger.kernel.org, "peterpandong@micron.com" Subject: Re: [PATCH v2 0/7] mtd: nand: Abstract away the NAND interface type Message-ID: <20161117085603.3f568599@bbrezillon> In-Reply-To: References: <1476628518-20450-1-git-send-email-boris.brezillon@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Peter, On Thu, 17 Nov 2016 14:26:37 +0800 Peter Pan wrote: > Hi Boris, > > On Sun, Oct 16, 2016 at 10:35 PM, Boris Brezillon > wrote: > > Hi, > > > > This series is aiming at providing a generic NAND layer to share code > > between different NAND based devices. > > > > We currently have 3 different interfaces to interact with NANDs: > > - Raw NANDs > > - OneNANDs > > - SPI NANDs > > > > Apart from the way these NAND devices are accessed they have a lot > > in common, like the way the memory is organized, or their constraints. > > This is usually a good sign that some work should be done to factorize > > the code. > > > > This work has been started by Peter who wanted to re-use the BBT > > code for its SPI-NAND driver. But I think we can push it further > > other stuff (the software ECC implementation, or the way offsets are > > converted to block/page number). > > > > Peter, can you please review/test this version, and if possible, post > > the code you've done to support SPI NANDs. > > > > I already finished review and test work. The BBT works well after I applied > my modification which I already sent to your by email. I tried to build a new > BBT on a new NAND and then mark one block to bad. Both works well. > My test platform is Xilinx Zed board. Thanks a lot for testing and reviewing this series. I'll address your comments and send a new version soon. My plan is to have it in -next just after 4.10-rc1 is released, in order to detect bugs early. > > I will try to rebase my SPI NAND patch on your patch and send it out. > It will take me some time because I'm quite busy with other company affairs. I'd be happy to review this part. Regards, Boris