[U-Boot] [PATCH 4/4] mtd: vf610_nfc: support subpage write
Scott Wood
scottwood at freescale.com
Fri Apr 3 22:36:43 CEST 2015
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 <stefan at agner.ch>
As previously discussed, please explain why subpage writes make sense
with this controller.
-Scott
More information about the U-Boot
mailing list