From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tx2ehsobe001.messaging.microsoft.com ([65.55.88.11] helo=tx2outboundpool.messaging.microsoft.com) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VsOyl-00071Q-T9 for linux-mtd@lists.infradead.org; Mon, 16 Dec 2013 03:36:24 +0000 Date: Mon, 16 Dec 2013 11:06:51 +0800 From: Huang Shijie To: Caizhiyong Subject: Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND Message-ID: <20131216030649.GA27109@shlinux2.ap.freescale.net> References: <20131213080118.GC24650@norris-Latitude-E6410> <20131213151138.GA1316@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: Cc: "Wanglin \(Albert\)" , David Woodhouse , Quyaxin , "linux-kernel@vger.kernel.org" , "linux-mtd@lists.infradead.org" , Artem Bityutskiy , Brian Norris , Huang Shijie , David Woodhouse List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Dec 16, 2013 at 02:03:54AM +0000, Caizhiyong wrote: > > > > > > There are a lot of 16K page size NAND, they are used in android system. > > > > > > Many NAND need read retry and data randomization, kernel does not support this > > feature. > > Brian is adding the read-retry feature. > > > > I think the data randomization should be done by the hardware. > > If we do it by software, it costs lot of the cpu cycles. > > > > > > > Kernel also does not support synchronous NAND. > > > > The synchronous NAND should be supported by the nand controller driver, > > not the kernel. > > Yes. Those feature should be support by NAND controller hardware and driver. > But the driver does not know what NAND should use those feature. > Perhaps, the NAND id table, should add something. We can get the synchronous info from the ONFI nand. In actually, if you do not add this patch, i will change it too. I have several 16K nand chips on my hands now. :) thanks Huang Shijie