From: Tom Rini Date: Fri, 17 Jan 2014 08:06:15 -0500 Subject: [U-Boot] [U-Boot, v2] nand, gpmc: fix reading after switching ecc In-Reply-To: <1389805134-12382-1-git-send-email-jeroen@myspectrum.nl> References: <1389805134-12382-1-git-send-email-jeroen@myspectrum.nl> Message-ID: <20140117130615.GB5181@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Pekon Gupta > Cc: Nikita Kiryanov > Signed-off-by: Jeroen Hofstee 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: