From: Huang Shijie Date: Wed, 4 Jan 2012 03:18:46 +0000 (+0800) Subject: mtd: gpmi-nand bugfix: reset the BCH module when it is not MX23 X-Git-Tag: v3.2.6~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e71844e1d3a9ae8681fc18781a3579eed4b2406;p=pandora-kernel.git mtd: gpmi-nand bugfix: reset the BCH module when it is not MX23 commit 9398d1ce09b9009996f7d2468e1d3c785fa6feda upstream. 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 Acked-by: Marek Vasut Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed