RE: [PATCH 1/1] mtd: nand_bbt: separate struct nand_chip from nand_bbt.c

2015-06-25 Thread peterpandong
Hi Kamil, First of all, thanks for your great contribution. On Jun 25, 2015 at 20:44 PM, Kamil Debski wrote: > > Hi Peter, > > Thank you for work on this. I have applied this patch to the latest > kernel and it had some minor merge conflicts that needed to be resolved. > But apart from this it

RE: [PATCH 1/1] mtd: nand_bbt: separate struct nand_chip from nand_bbt.c

2015-06-25 Thread Kamil Debski
Hi Peter, Thank you for work on this. I have applied this patch to the latest kernel and it had some minor merge conflicts that needed to be resolved. But apart from this it compiled and worked in my setup. My testing procedure was following: 1) I applied your patch to the NAND core 2) I applie

RE: [PATCH 1/1] mtd: nand_bbt: separate struct nand_chip from nand_bbt.c

2015-06-02 Thread peterpandong
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 fo

[PATCH 1/1] mtd: nand_bbt: separate struct nand_chip from nand_bbt.c

2015-05-15 Thread peterpandong
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 par