From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751353AbcGNSHT (ORCPT ); Thu, 14 Jul 2016 14:07:19 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:33755 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751119AbcGNSHP (ORCPT ); Thu, 14 Jul 2016 14:07:15 -0400 Date: Thu, 14 Jul 2016 11:07:11 -0700 From: Brian Norris To: Ricardo Ribalda Delgado Cc: David Woodhouse , Javier Martinez Canillas , Boris Brezillon , Stephen Warren , Jagan Teki , Vignesh R , Marek Vasut , Ezequiel =?iso-8859-1?Q?Garc=EDa?= , =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , Furquan Shaikh , Cyrille Pitchen , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RESEND PATCH v3] mtd: spi-nor: Add support for S3AN spi-nor devices Message-ID: <20160714180711.GH54628@google.com> References: <1463002402-7996-1-git-send-email-ricardo.ribalda@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1463002402-7996-1-git-send-email-ricardo.ribalda@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 28, 2016 at 11:25:11AM +0200, Ricardo Ribalda Delgado wrote: > Xilinx Spartan-3AN FPGAs contain an In-System Flash where they keep > their configuration data and (optionally) some user data. > > The protocol of this flash follows most of the spi-nor standard. With > the following differences: > > - Page size might not be a power of two. > - The address calculation (default addressing mode). > - The spi nor commands used. > > Protocol is described on Xilinx User Guide UG333 > > Signed-off-by: Ricardo Ribalda Delgado > --- > > v3: > -Rebase on top of mtd-next > -Rename ADDR_NATIVE to ADDR_DEFAULT to follow UG333 naming > -Fix bug on probe > > v2: Suggested by Brian Norris > > -Remove inline qualifier > -Improve documentation of Default Addressing Mode > -Convert function callbacks into SNOR_F_ > -Fix missmatch braces > -Improve documentation of SPI_S3AN flag > > drivers/mtd/devices/m25p80.c | 3 ++ > drivers/mtd/spi-nor/spi-nor.c | 110 ++++++++++++++++++++++++++++++++++++++++-- > include/linux/mtd/spi-nor.h | 26 ++++++++++ > 3 files changed, 136 insertions(+), 3 deletions(-) This still doesn't apply to l2-mtd.git / linux-next.git. If I get time, I'll see how easily I can fix that up myself.