[<prev] [next>] [day] [month] [year] [list]
Message-ID: <87F60714EC601C4C83DFF1D2E3D390A027B12734@NTXXIAMBX02.xacn.micron.com>
Date: Wed, 3 Jun 2015 01:31:27 +0000
From: Peter Pan 潘栋 (peterpandong)
<peterpandong@...ron.com>
To: Peter Pan 潘栋 (peterpandong)
<peterpandong@...ron.com>,
"dwmw2@...radead.org" <dwmw2@...radead.org>,
Brian Norris <computersforpeace@...il.com>,
"fransklaver@...il.com" <fransklaver@...il.com>,
"wsa@...-dreams.de" <wsa@...-dreams.de>,
"zajec5@...il.com" <zajec5@...il.com>,
"boris.brezillon@...e-electrons.com"
<boris.brezillon@...e-electrons.com>,
"baruch@...s.co.il" <baruch@...s.co.il>,
"ezequiel.garcia@...e-electrons.com"
<ezequiel.garcia@...e-electrons.com>,
"kdasu.kdev@...il.com" <kdasu.kdev@...il.com>,
"rogerq@...com" <rogerq@...com>,
"asierra@...-inc.com" <asierra@...-inc.com>, bpqw <bpqw@...ron.com>
CC: "linux-mtd@...ts.infradead.org" <linux-mtd@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Qi Wang 王起 (qiwang) <qiwang@...ron.com>
Subject: RE: [PATCH 1/1] mtd: nand_bbt: separate struct nand_chip from
nand_bbt.c
Ping
>
> Currently nand_bbt.c is tied with struct nand_chip, and it makes other
> NAND family chips hard to use nand_bbt.c. Maybe it's the reason why
> onenand has own bbt(onenand_bbt.c).
>
> Parameterize a few relevant device detail information into a new
> nand_bbt struct, and set some hooks for chip specified part. Allocate
> and initialize struct nand_bbt in nand_base.c.
>
> Most of the patch is borrowed from Brian Norris
> <computersforpeace@...il.com>.
> http://git.infradead.org/users/norris/linux-
> mtd.git/shortlog/refs/heads/nand-bbt
>
> Signed-off-by: Peter Pan <peterpandong@...ron.com>
> Signed-off-by: Brian Norris <computersforpeace@...il.com>
> ---
> drivers/mtd/nand/docg4.c | 8 +-
> drivers/mtd/nand/nand_base.c | 145 +++++++++++-
> drivers/mtd/nand/nand_bbt.c | 518 +++++++++++++++++------------------
> --------
> include/linux/mtd/bbm.h | 96 +-------
> include/linux/mtd/nand.h | 11 +-
> include/linux/mtd/nand_bbt.h | 160 +++++++++++++
> 6 files changed, 516 insertions(+), 422 deletions(-)
> create mode 100644 include/linux/mtd/nand_bbt.h
>
Powered by blists - more mailing lists