ARM: OMAP2+: Fix onenand initialization to avoid filesystem corruption
authorIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Fri, 5 Feb 2016 14:37:08 +0000 (16:37 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 22 Feb 2016 17:24:10 +0000 (09:24 -0800)
commit3f315c5b850fa7aff73f50de8e316b98f611a32b
tree820951dd543047f38178c98cd90f96a259131945
parente327b3f564031a8d0090a6b3e3562a8b59bafe0e
ARM: OMAP2+: Fix onenand initialization to avoid filesystem corruption

Commit e7b11dc7b77b ("ARM: OMAP2+: Fix onenand rate detection to avoid
filesystem corruption") partially fixed onenand configuration when GPMC
module is reset. Finish the job by also providing the correct values in
ONENAND_REG_SYS_CFG1 register.

Fixes: e7b11dc7b77b ("ARM: OMAP2+: Fix onenand rate detection to avoid
filesystem corruption")
Cc: stable@vger.kernel.org # v4.2+
Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpmc-onenand.c