On Thu, 28 May 2015 17:56:07 +0200 Steffen Trumtrar <s.trumtrar@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx> > --- > 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! -- Best regards, Antony Pavlov _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox