[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131213080444.GD24650@norris-Latitude-E6410>
Date: Fri, 13 Dec 2013 00:04:44 -0800
From: Brian Norris <computersforpeace@...il.com>
To: Huang Shijie <b32955@...escale.com>
Cc: Caizhiyong <caizhiyong@...ilicon.com>,
David Woodhouse <David.Woodhouse@...el.com>,
Artem Bityutskiy <artem.bityutskiy@...ux.intel.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-mtd@...ts.infradead.org" <linux-mtd@...ts.infradead.org>,
Quyaxin <quyaxin@...ilicon.com>,
"Wanglin (Albert)" <albert.wanglin@...ilicon.com>,
David Woodhouse <dwmw2@...radead.org>
Subject: Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize
NAND
On Fri, Dec 13, 2013 at 03:27:12PM +0800, Huang Shijie wrote:
> On Fri, Dec 13, 2013 at 05:03:49AM +0000, Caizhiyong wrote:
> > --- a/include/linux/mtd/nand.h
> > +++ b/include/linux/mtd/nand.h
> > @@ -56,8 +56,8 @@ extern int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
> > * is supported now. If you add a chip with bigger oobsize/page
> > * adjust this accordingly.
> > */
> > -#define NAND_MAX_OOBSIZE 744
> > -#define NAND_MAX_PAGESIZE 8192
> > +#define NAND_MAX_OOBSIZE 1280
> > +#define NAND_MAX_PAGESIZE 16384
> maybe it is time to remove these two macros.
It's like you read my mind :)
Brian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists