kernel-hacking-2024-linux-s.../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
..
bch-regs.h
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
Makefile