mtd: nand: add "page" parameter to all read_page/read_page_raw APIs
commit46a8cf2df2232c0051f29716ff8a166ebeb08daf
authorSneha Narnakaje <nsnehaprabha@ti.com>
Fri, 18 Sep 2009 19:51:46 +0000 (18 12:51 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 19 Sep 2009 18:13:47 +0000 (19 11:13 -0700)
treeea7073f16c03f271cf7352c676a4604d31348deb
parent778dbcc1ebea6f9a560020110987449bf4607e5f
mtd: nand: add "page" parameter to all read_page/read_page_raw APIs

This patch adds a new "page" parameter to all NAND read_page/read_page_raw
APIs.  The read_page API for the new mode ECC_HW_OOB_FIRST requires the
page information to send the READOOB command and read the OOB area before
the data area.

Reviewed-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Sneha Narnakaje <nsnehaprabha@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/atmel_nand.c
drivers/mtd/nand/cafe_nand.c
drivers/mtd/nand/fsl_elbc_nand.c
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/sh_flctl.c
include/linux/mtd/nand.h