]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: nand: use elbc_fcm_ctrl->oob to set FPAR_MS bit of FPAR
authorLiu Shuo <b35362@freescale.com>
Sun, 4 Dec 2011 04:31:36 +0000 (12:31 +0800)
committerArtem Bityutskiy <Artem.Bityutskiy@intel.com>
Mon, 5 Dec 2011 06:47:44 +0000 (08:47 +0200)
commita8fde3758b5d1937b5203910852de5393b4a824f
treea2e6fff0ba8b3652bbeb4d0d96a4bd5fa9b33330
parentcc5c00f5c49db1d17dcdd35054afd57097c91b32
mtd: nand: use elbc_fcm_ctrl->oob to set FPAR_MS bit of FPAR

On both of large-page chip and small-page chip, we always should use
'elbc_fcm_ctrl->oob' to set the FPAR_LP_MS/FPAR_SP_MS bit of FPAR, don't
use a overflowed 'column' to set it.

Signed-off-by: Liu Shuo <b35362@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@intel.com>
drivers/mtd/nand/fsl_elbc_nand.c