From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Norris Subject: Re: [PATCH v5 3/8] mtd: spi-nor: add the framework for SPI NOR Date: Wed, 9 Apr 2014 10:48:37 -0700 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-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <1393238262-8622-4-git-send-email-b32955@freescale.com> Sender: linux-doc-owner@vger.kernel.org To: Huang Shijie Cc: dwmw2@infradead.org, angus.clark@st.com, lee.jones@linaro.org, pekon@ti.com, sourav.poddar@ti.com, broonie@linaro.org, linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, b44548@freescale.com, b18965@freescale.com, devicetree@vger.kernel.org, shawn.guo@linaro.org List-Id: devicetree@vger.kernel.org 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. =2E.. > 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 =A9 2005, Intec Automation Inc. * Copyright =A9 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 =2E.. Brian