From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-bn1bon0057.outbound.protection.outlook.com ([157.56.111.57] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XoxHO-0007bE-Rr for linux-mtd@lists.infradead.org; Thu, 13 Nov 2014 16:29:56 +0000 Date: Thu, 13 Nov 2014 10:26:39 -0600 From: Graham Moore To: bpqw Subject: RE: [V5 PATCH 1/1] driver:mtd:spi-nor: Add quad I/O support for Micron spi nor In-Reply-To: Message-ID: References: <201409251211.57183.marex@denx.de> <201409261046.07132.marex@denx.de> <54613259.4070903@opensource.altera.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Cc: Marek Vasut , "geert+renesas@glider.be" , "shijie8@gmail.com" , "linux-kernel@vger.kernel.org" , "linux-mtd@lists.infradead.org" , Brian Norris , "dwmw2@infradead.org" , Graham Moore List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 12 Nov 2014, bpqw wrote: > This maybe your spi controller is still extended mode, > Once EVCR bit 7 is set to 0, the spi nor device will operate in quad I/O.Command-address-data line is 4-x-4. > So after send WRITE EVCR command , spi controller also must transfer to quad I/O Mode,and set its Command-address-data line also > Should be 4-x-4 . Thanks, this helped. I added some code to snoop the command stream for WRITE EVCR with quad mode, and then set up the quad mode in the controller. Seems kinda ugly, but working now. -Graham