From: Tom Rini Date: Fri, 6 Jun 2014 17:54:19 -0400 Subject: [U-Boot] [U-Boot, v5, 1/5] mtd: nand: don't use read_buf for 8-bit ONFI transfers In-Reply-To: <1399317380-16755-2-git-send-email-pekon@ti.com> References: <1399317380-16755-2-git-send-email-pekon@ti.com> Message-ID: <20140606215419.GW7841@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 Tue, May 06, 2014 at 12:46:16AM +0530, pekon gupta wrote: > From: Brian Norris > > Porting below commit from linux-tree, preserving original authorship & commit log > commit bd9c6e99b58255b9de1982711ac9487c9a2f18be > Author: Brian Norris > mtd: nand: don't use read_buf for 8-bit ONFI transfers > > Use a repeated read_byte() instead of read_buf(), since for x16 buswidth > devices, we need to avoid the upper I/O[16:9] bits. See the following > commit for reference: > > commit 05f7835975dad6b3b517f9e23415985e648fb875 (from linux-tree) > Author: Uwe Kleine-K?nig > Date: Thu Dec 5 22:22:04 2013 +0100 > > mtd: nand: don't use {read,write}_buf for 8-bit transfers > > Now, I think that all barriers to probing ONFI on x16 devices are > removed, so remove the check from nand_flash_detect_onfi(). > > Signed-off-by: Pekon Gupta Applied to u-boot-ti/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: