[PATCH v2 8/8] mtd: m25p80: use the SPI nor framework
Sascha Hauer
s.hauer at pengutronix.de
Tue Jun 16 23:05:14 PDT 2015
On Tue, Jun 16, 2015 at 08:48:51AM +0300, Antony Pavlov wrote:
> On Thu, 28 May 2015 17:56:07 +0200
> Steffen Trumtrar <s.trumtrar at pengutronix.de> wrote:
>
> > Use the spi-nor framework for the m25p80 driver to de-duplicate the code base
> > and follow along with the linux kernel version, so bugfixes or features can be
> > easier integrated.
> >
> > Based on the Linux v4.1-rc3 version of m25p80.c.
> >
> > Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
> > ---
> > drivers/mtd/devices/Kconfig | 2 +-
> > drivers/mtd/devices/m25p80.c | 998 +++++++------------------------------------
> > 2 files changed, 166 insertions(+), 834 deletions(-)
> >
> > diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
> > index 095a4ca0936c..c941767de94c 100644
> > --- a/drivers/mtd/devices/m25p80.c
> > +++ b/drivers/mtd/devices/m25p80.c
>
> ...
>
> > + {"w25q128"}, {"w25q256"}, {"cat25c11"},
> > + {"cat25c03"}, {"cat25c09"}, {"cat25c17"}, {"cat25128"},
> > +
> > + /*
> > + * Generic support for SPI NOR that can be identified by the JEDEC READ
> > + * ID opcode (0x9F). Use this, if possible.
> > + */
> > + {"nor-jedec"},
> > { },
> > };
>
> Please fix whitespaces here.
>
> Please use checkpatch.pl on your patches before submitting!
Uh, yes, there are quite some spaces instead of tabs in this file. I
just committed a patch fixing these.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list