From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Fri, 3 Apr 2015 15:36:43 -0500 Subject: [U-Boot] [PATCH 4/4] mtd: vf610_nfc: support subpage write In-Reply-To: <1428086445-10554-4-git-send-email-stefan@agner.ch> References: <1428086445-10554-1-git-send-email-stefan@agner.ch> <1428086445-10554-4-git-send-email-stefan@agner.ch> Message-ID: <1428093403.22867.347.camel@freescale.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 Fri, 2015-04-03 at 20:40 +0200, Stefan Agner wrote: > Support subpage writes using a custom implementation of write_subpage. > The driver loads the page into SRAM buffer using NAND_CMD_READ0, when > the framework requests the NAND_CMD_SEQIN command. Then, the buffer is > updated by the custom write_subpage implementation. Upon write, the > controller calculates the hardware ECC across the whole page before > programming the page. > > This method saves transferring the whole page over the bus to the NFC > IP, which would happen when using NAND_NO_SUBPAGE_WRITE. > > Signed-off-by: Stefan Agner As previously discussed, please explain why subpage writes make sense with this controller. -Scott