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)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 11 Jan 2012 09:52:46 +0000 (09:52 +0000)
commit9398d1ce09b9009996f7d2468e1d3c785fa6feda
treef21d1bd73f86ca855f2425436ddd371001a7413e
parent12183a20a8baf009bf570ab3db45a27fd6b1fd03
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>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Cc: stable@kernel.org [3.1+]
drivers/mtd/nand/gpmi-nand/gpmi-lib.c
This page took 0.025304 seconds and 5 git commands to generate.