RE: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-15 Thread Caizhiyong
> Wanglin (Albert); David Woodhouse > Subject: Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize > NAND > > On Mon, Dec 16, 2013 at 02:03:54AM +, Caizhiyong wrote: > > > > > > > > There are a lot of 16K page size NAND, they are used in

Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-15 Thread Huang Shijie
On Mon, Dec 16, 2013 at 02:03:54AM +, Caizhiyong wrote: > > > > > > There are a lot of 16K page size NAND, they are used in android system. > > > > > > Many NAND need read retry and data randomization, kernel does not support > > > this > > feature. > > Brian is adding the read-retry feature.

RE: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-15 Thread Caizhiyong
> > > > There are a lot of 16K page size NAND, they are used in android system. > > > > Many NAND need read retry and data randomization, kernel does not support > > this > feature. > Brian is adding the read-retry feature. > > I think the data randomization should be done by the hardware. > If

RE: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-15 Thread Caizhiyong
There are a lot of 16K page size NAND, they are used in android system. Many NAND need read retry and data randomization, kernel does not support this feature. Brian is adding the read-retry feature. I think the data randomization should be done by the hardware. If we do it by

Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-15 Thread Huang Shijie
On Mon, Dec 16, 2013 at 02:03:54AM +, Caizhiyong wrote: There are a lot of 16K page size NAND, they are used in android system. Many NAND need read retry and data randomization, kernel does not support this feature. Brian is adding the read-retry feature. I think the

RE: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-15 Thread Caizhiyong
); David Woodhouse Subject: Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND On Mon, Dec 16, 2013 at 02:03:54AM +, Caizhiyong wrote: There are a lot of 16K page size NAND, they are used in android system. Many NAND need read retry and data randomization

Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-13 Thread Huang Shijie
On Fri, Dec 13, 2013 at 11:10:10AM +, Caizhiyong wrote: > > There are a lot of 16K page size NAND, they are used in android system. > > Many NAND need read retry and data randomization, kernel does not support > this feature. Brian is adding the read-retry feature. I think the data

RE: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-13 Thread Caizhiyong
> On Fri, Dec 13, 2013 at 05:03:49AM +, Caizhiyong wrote: > > From: Cai Zhiyong > > Date: Fri, 13 Dec 2013 12:52:46 +0800 > > Subject: [PATCH] mtd: increase max page/OOB size to support 16K pagesize > > NAND. > > > > The Toshiba's TC58TEG5DCJTA pagesize is 16K, oob size is 1280 bytes. > > So

Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-13 Thread Brian Norris
On Fri, Dec 13, 2013 at 03:27:12PM +0800, Huang Shijie wrote: > On Fri, Dec 13, 2013 at 05:03:49AM +, 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); > >

Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-13 Thread Brian Norris
On Fri, Dec 13, 2013 at 05:03:49AM +, Caizhiyong wrote: > From: Cai Zhiyong > Date: Fri, 13 Dec 2013 12:52:46 +0800 > Subject: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND. > > The Toshiba's TC58TEG5DCJTA pagesize is 16K, oob size is 1280 bytes. > So increase the

Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-13 Thread Brian Norris
On Fri, Dec 13, 2013 at 05:03:49AM +, Caizhiyong wrote: From: Cai Zhiyong caizhiy...@huawei.com Date: Fri, 13 Dec 2013 12:52:46 +0800 Subject: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND. The Toshiba's TC58TEG5DCJTA pagesize is 16K, oob size is 1280 bytes. So

Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-13 Thread Brian Norris
On Fri, Dec 13, 2013 at 03:27:12PM +0800, Huang Shijie wrote: On Fri, Dec 13, 2013 at 05:03:49AM +, 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

RE: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-13 Thread Caizhiyong
On Fri, Dec 13, 2013 at 05:03:49AM +, Caizhiyong wrote: From: Cai Zhiyong caizhiy...@huawei.com Date: Fri, 13 Dec 2013 12:52:46 +0800 Subject: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND. The Toshiba's TC58TEG5DCJTA pagesize is 16K, oob size is 1280

Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-13 Thread Huang Shijie
On Fri, Dec 13, 2013 at 11:10:10AM +, Caizhiyong wrote: There are a lot of 16K page size NAND, they are used in android system. Many NAND need read retry and data randomization, kernel does not support this feature. Brian is adding the read-retry feature. I think the data

Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-12 Thread Huang Shijie
On Fri, Dec 13, 2013 at 05:03:49AM +, Caizhiyong wrote: > From: Cai Zhiyong > Date: Fri, 13 Dec 2013 12:52:46 +0800 > Subject: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND. > > The Toshiba's TC58TEG5DCJTA pagesize is 16K, oob size is 1280 bytes. > So increase the

Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-12 Thread Brian Norris
On Fri, Dec 13, 2013 at 05:01:56AM +, Caizhiyong wrote: > The Toshiba's TC58TEG5DCJTA pagesize is 16K, oob size is 1280 bytes. > So increase the NAND_MAX_OOBSIZE and NAND_MAX_PAGESIZE. > > Signed-off-by: Huang Shijie > Signed-off-by: Artem Bityutskiy > Signed-off-by: David Woodhouse Huh?

Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-12 Thread Brian Norris
On Fri, Dec 13, 2013 at 05:01:56AM +, Caizhiyong wrote: The Toshiba's TC58TEG5DCJTA pagesize is 16K, oob size is 1280 bytes. So increase the NAND_MAX_OOBSIZE and NAND_MAX_PAGESIZE. Signed-off-by: Huang Shijie b32...@freescale.com Signed-off-by: Artem Bityutskiy

Re: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND

2013-12-12 Thread Huang Shijie
On Fri, Dec 13, 2013 at 05:03:49AM +, Caizhiyong wrote: From: Cai Zhiyong caizhiy...@huawei.com Date: Fri, 13 Dec 2013 12:52:46 +0800 Subject: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND. The Toshiba's TC58TEG5DCJTA pagesize is 16K, oob size is 1280 bytes. So