From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 9 Apr 2014 10:48:37 -0700 From: Brian Norris To: Huang Shijie Subject: Re: [PATCH v5 3/8] mtd: spi-nor: add the framework for SPI NOR Message-ID: <20140409174837.GE32070@ld-irv-0074> References: <1393238262-8622-1-git-send-email-b32955@freescale.com> <1393238262-8622-4-git-send-email-b32955@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1393238262-8622-4-git-send-email-b32955@freescale.com> Cc: angus.clark@st.com, b44548@freescale.com, broonie@linaro.org, dwmw2@infradead.org, linux-doc@vger.kernel.org, b18965@freescale.com, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-mtd@lists.infradead.org, pekon@ti.com, sourav.poddar@ti.com, shawn.guo@linaro.org, lee.jones@linaro.org, linux-arm-kernel@lists.infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Feb 24, 2014 at 06:37:37PM +0800, Huang Shijie wrote: > This patch cloned most of the m25p80.c. In theory, it adds a new spi-nor layer. ... > diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c > new file mode 100644 > index 0000000..a840e88 > --- /dev/null > +++ b/drivers/mtd/spi-nor/spi-nor.c > @@ -0,0 +1,1087 @@ > +/* > + * Cloned most of the code from the m25p80.c Please include a copyright notice here. This should carry both the original m25p80.c copyright notice, as well as your own additional copyright if you choose. For instance: * Based on m25p80.c, by Mike Lavender (mike@steroidmicros.com), with * influence from lart.c (Abraham Van Der Merwe) and mtd_dataflash.c * * Copyright © 2005, Intec Automation Inc. * Copyright © 2014, Freescale Semiconductor, Inc. > + * > + * This code is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 as > + * published by the Free Software Foundation. > + */ > + > +#include > +#include > +#include > +#include > +#include > +#include ... Brian