From mboxrd@z Thu Jan 1 00:00:00 1970 From: Veli-Pekka Peltola Date: Fri, 11 Nov 2011 14:52:38 +0200 Subject: [U-Boot] [PATCH] NAND: Let NAND_NO_SUBPAGE_WRITE through In-Reply-To: <201111101844.54924.marek.vasut@gmail.com> References: <1320459844-18243-1-git-send-email-marek.vasut@gmail.com> <201111101802.36903.marek.vasut@gmail.com> <20111110171051.GA12108@schlenkerla.am.freescale.net> <201111101844.54924.marek.vasut@gmail.com> Message-ID: <4EBD1A96.8010805@bluegiga.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=drivers/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. -- Veli-Pekka Peltola