NAND: ADD page Parameter to all read_page/read_page_raw API's
authorSandeep Paulraj <s-paulraj@ti.com>
Mon, 10 Aug 2009 17:27:46 +0000 (13:27 -0400)
committerScott Wood <scottwood@freescale.com>
Wed, 26 Aug 2009 20:37:02 +0000 (15:37 -0500)
commita2c65b47effcb3d0aa23e58596538acd338ac7c5
tree6f3bd2c7cbeae19e631e425d00ae8418f3c21c7f
parentde4250929f37e6c16860741b74546bedbe0bdaba
NAND: ADD page Parameter to all read_page/read_page_raw API's

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.

This patch has been accepted by Andrew Morton and can be found at
http://userweb.kernel.org/~akpm/mmotm/broken-out/mtd-nand-add-page-parameter-to-all-read_page-read_page_raw-apis.patch

WE would like this to become part of the u-boot GIT as well

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Sneha Narnakaje <nsnehaprabha@ti.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/fsl_elbc_nand.c
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h