OpenCloudOS-Kernel/drivers/mtd/nand/gpmi-nand
Wolfram Sang 6f2a6a5256 mtd: nand: gpmi: reset BCH earlier, too, to avoid NAND startup problems
It could happen (1 out of 100 times) that NAND did not start up
correctly after warm rebooting, so the kernel could not find the UBI or
DMA timed out due to a stalled BCH. When resetting BCH together with
GPMI, the issue could not be observed anymore (after 10000+ reboots). We
probably need the consistent state already before sending any command to
NAND, even when no ECC is needed. I chose to keep the extra reset for
BCH when changing the flash layout to be on the safe side.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Huang Shijie <b32955@freescale.com>
Cc: stable@vger.kernel.org
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
2012-12-13 13:39:32 +02:00
..
Makefile mtd: add GPMI-NAND driver in the config and Makefile 2011-09-11 15:02:18 +03:00
bch-regs.h mtd: gpmi: add gpmi support for mx6q 2012-05-13 23:22:29 -05:00
gpmi-lib.c mtd: nand: gpmi: reset BCH earlier, too, to avoid NAND startup problems 2012-12-13 13:39:32 +02:00
gpmi-nand.c mtd: remove use of __devexit 2012-11-22 12:07:03 +02:00
gpmi-nand.h mtd: gpmi: remove unneccessary header 2012-11-15 15:37:50 +02:00
gpmi-regs.h mtd: gpmi: add a new field for HW_GPMI_CTRL1 2012-09-29 15:55:18 +01:00