mtd: nand: fixup for fmr initialization of Freescale NAND controller
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Mon, 12 Dec 2011 09:40:52 +0000 (17:40 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:18:44 +0000 (18:18 +0000)
commitd8251108e0def5a2f15124a8e6314b14bfa5eb9c
treed7aab75afb2d7ff33ef93dc716b73a6c80634755
parent2b00668ff9d91d594a204ff2c3bf940d483e4b5f
mtd: nand: fixup for fmr initialization of Freescale NAND controller

There was a bug for fmr initialization, which lead to  fmr was always 0x100
in fsl_elbc_chip_init() and caused FCM command timeout before calling
fsl_elbc_chip_init_tail(), now we initialize CWTO to maximum timeout value
and not relying on the setting of bootloader.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsl_elbc_nand.c