]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: nand: subpage write support for hardware based ECC schemes
authorGupta, Pekon <pekon@ti.com>
Fri, 15 Mar 2013 12:25:53 +0000 (17:55 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 12:22:59 +0000 (13:22 +0100)
commit837a6ba4f3b6d23026674e6af6b6849a4634fff9
treec13590363e4e146627a0074b2c7efa60386c5a18
parent4ff6772b5bb17ef40e64abf2c0d5f6aefd104b06
mtd: nand: subpage write support for hardware based ECC schemes

This patch adds support for subpage (partial-page) writes when using
hardware based ECC schemes.
Advantages:
(1) reduces storage overhead when using file-systems like UBIFS, which
store LEB header at page-size granularity.
(2) allows independent subpage writes, thereby increasing NAND storage
efficiency for non-page aligned data.
+ updated cafe_nand and lpc32xx_mlc NAND drivers for change in
chip->write_page interface.

Signed-off-by: Gupta, Pekon <pekon@ti.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/cafe_nand.c
drivers/mtd/nand/lpc32xx_mlc.c
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h