[U-Boot] [U-Boot, v2] nand, gpmc: fix reading after switching ecc
Tom Rini
trini at ti.com
Fri Jan 17 14:06:15 CET 2014
On Wed, Jan 15, 2014 at 05:58:54PM +0100, Jeroen Hofstee wrote:
> 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 at freescale.com>
> Cc: Pekon Gupta <pekon at ti.com>
> Cc: Nikita Kiryanov <nikita at compulab.co.il>
> Signed-off-by: Jeroen Hofstee <jeroen at myspectrum.nl>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140117/22e57f6e/attachment.pgp>
More information about the U-Boot
mailing list