]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: gpmi-nand bugfix: reset the BCH module when it is not MX23
authorHuang Shijie <b32955@freescale.com>
Wed, 4 Jan 2012 03:18:46 +0000 (11:18 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:51 +0000 (08:33 +0200)
commitf514a7f120a030eabf7eadecd9929ef15d1dcf81
tree776a6686db5ac9d3c3f4024817f728dcd156bede
parente65d5d7f19e7506d3420e8833b2eeb8bf47083d1
mtd: gpmi-nand bugfix: reset the BCH module when it is not MX23

In MX28, if we do not reset the BCH module. The BCH module may
becomes unstable when the board reboots for several thousands times.
This bug has been catched in customer's production.

The patch adds some comments(some from Wolfram Sang), and fixes it now.

Also change gpmi_reset_block() to static.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/nand/gpmi-nand/gpmi-lib.c