From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 11 Nov 2011 18:50:31 +0100 Subject: [U-Boot] [PATCH] NAND: Let NAND_NO_SUBPAGE_WRITE through In-Reply-To: <4EBD1A96.8010805@bluegiga.com> References: <1320459844-18243-1-git-send-email-marek.vasut@gmail.com> <201111101844.54924.marek.vasut@gmail.com> <4EBD1A96.8010805@bluegiga.com> Message-ID: <201111111850.31747.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > On 11/10/2011 07:44 PM, Marek Vasut wrote: > > Actually, maybe we should fix this in Linux first. Is the GPMI-NAND > > driver for i.MX28 applied already to mainline linux-mtd? > > Yes, it is in 3.2-rc1: > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=tree;f=drive > rs/mtd/nand/gpmi-nand > > I have tried to figure out why it works. The driver sets same > NAND_NO_SUBPAGE_WRITE flag but it is also dropped in nand_base. One > difference is: chip->ecc.size is set to 1 instead of 512. This is good, I'll look into it later today or tomorrow I hope. Thanks for your great help! M