diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-01-15 17:58:54 +0100 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-01-17 08:04:32 -0500 |
commit | 13fbde6e4f600d94f0a1fb6ae49c6b4888033cec (patch) | |
tree | e70db939b0ffe7fd66a3b4accf90fc25a98a85d4 /include/dataflash.h | |
parent | 09b72d692f4bce6716a255433b93c9ae2c4cc315 (diff) | |
download | u-boot-imx-13fbde6e4f600d94f0a1fb6ae49c6b4888033cec.zip u-boot-imx-13fbde6e4f600d94f0a1fb6ae49c6b4888033cec.tar.gz u-boot-imx-13fbde6e4f600d94f0a1fb6ae49c6b4888033cec.tar.bz2 |
nand, gpmc: fix reading after switching ecc
The omap_gpmc allows switching ecc at runtime. Since
the NAND_SUBPAGE_READ flag is only set, it is kept when
switching to hw ecc, which is not correct. This leads to
calling chip->ecc.read_subpage which is not a valid
pointer. Therefore clear the flag when switching ecc so
reading in hw mode works again.
Cc: Scott Wood <scottwood@freescale.com>
Cc: Pekon Gupta <pekon@ti.com>
Cc: Nikita Kiryanov <nikita@compulab.co.il>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'include/dataflash.h')
0 files changed, 0 insertions, 0 deletions