From: Brian Norris <computersforpeace@gmail.com>
To: "Peter Pan 潘栋 (peterpandong)" <peterpandong@micron.com>
Cc: "Qi Wang 王起 (qiwang)" <qiwang@micron.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
"Frank Liu 刘群 (frankliu)" <frankliu@micron.com>,
"Ezequiel Garcia" <ezequiel.garcia@imgtec.com>,
"Melanie Zhang 张燕 (melaniezhang)" <melaniezhang@micron.com>,
"dwmw2@infradead.org" <dwmw2@infradead.org>
Subject: Re: [PATCH 0/3] An alternative to SPI NAND
Date: Wed, 7 Jan 2015 17:03:29 -0800 [thread overview]
Message-ID: <20150108010257.GP9759@ld-irv-0074> (raw)
In-Reply-To: <87F60714EC601C4C83DFF1D2E3D390A04AB3F3@NTXXIAMBX02.xacn.micron.com>
On Thu, Jan 08, 2015 at 12:47:24AM +0000, Peter Pan 潘栋 (peterpandong) wrote:
> Documentation/devicetree/bindings/mtd/spi-nand.txt | 22 +
> drivers/mtd/Kconfig | 2 +
> drivers/mtd/Makefile | 1 +
> drivers/mtd/spi-nand/Kconfig | 7 +
> drivers/mtd/spi-nand/Makefile | 3 +
> drivers/mtd/spi-nand/spi-nand-base.c | 2034 ++++++++++++++++++++
> drivers/mtd/spi-nand/spi-nand-bbt.c | 1279 ++++++++++++
I can already tell by the diffstat that I don't like this. We probably
don't need 3000 new lines of code for this, but we especially don't want
to duplicate nand_bbt.c. It won't take a lot of work to augment
nand_bbt.c to make it shareable. (I can whip that patch up if needed.)
I'll still take a look at the rest of the code eventually, but just
wanted to give my 2 cents up front.
> drivers/mtd/spi-nand/spi-nand-device.c | 281 +++
> include/linux/mtd/spi-nand.h | 317 +++
> 9 files changed, 3946 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mtd/spi-nand.txt
> create mode 100644 drivers/mtd/spi-nand/Kconfig
> create mode 100644 drivers/mtd/spi-nand/Makefile
> create mode 100644 drivers/mtd/spi-nand/spi-nand-base.c
> create mode 100644 drivers/mtd/spi-nand/spi-nand-bbt.c
> create mode 100644 drivers/mtd/spi-nand/spi-nand-device.c
> create mode 100644 include/linux/mtd/spi-nand.h
Brian
next prev parent reply other threads:[~2015-01-08 1:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-08 0:47 [PATCH 0/3] An alternative to SPI NAND Peter Pan 潘栋 (peterpandong)
2015-01-08 1:03 ` Brian Norris [this message]
2015-01-08 2:45 ` Qi Wang 王起 (qiwang)
2015-01-08 3:27 ` Ezequiel Garcia
2015-01-12 15:10 ` Qi Wang 王起 (qiwang)
2015-01-20 10:35 ` Ezequiel Garcia
2015-01-21 2:11 ` Qi Wang 王起 (qiwang)
2015-01-29 18:03 ` Ezequiel Garcia
2015-01-30 0:57 ` Peter Pan 潘栋 (peterpandong)
2015-01-30 11:47 ` Ezequiel Garcia
2015-01-31 7:02 ` Brian Norris
2015-02-02 1:53 ` Peter Pan 潘栋 (peterpandong)
2015-02-23 15:32 ` Ezequiel Garcia
2015-02-24 3:54 ` Brian Norris
2015-02-26 18:39 ` Ezequiel Garcia
2015-01-20 6:15 ` Peter Pan 潘栋 (peterpandong)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150108010257.GP9759@ld-irv-0074 \
--to=computersforpeace@gmail.com \
--cc=dwmw2@infradead.org \
--cc=ezequiel.garcia@imgtec.com \
--cc=frankliu@micron.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=melaniezhang@micron.com \
--cc=peterpandong@micron.com \
--cc=qiwang@micron.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox