Re: [PATCH v3] nand_base: sync flash detection functions with linux 3.9's code

2013-05-08 Thread Eric Bénard
Le Thu, 9 May 2013 02:50:23 +0800, Jean-Christophe PLAGNIOL-VILLARD a écrit : > > On May 9, 2013, at 2:20 AM, Eric Bénard wrote: > > > Le Wed, 8 May 2013 19:45:41 +0200, > > Jean-Christophe PLAGNIOL-VILLARD a écrit : > > > >> one small issue > >> > >> /opt/work/barebox/drivers/mtd/nand/nand

Re: [PATCH v3] nand_base: sync flash detection functions with linux 3.9's code

2013-05-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On May 9, 2013, at 2:20 AM, Eric Bénard wrote: > Le Wed, 8 May 2013 19:45:41 +0200, > Jean-Christophe PLAGNIOL-VILLARD a écrit : > >> one small issue >> >> /opt/work/barebox/drivers/mtd/nand/nand_base.c: In function >> 'nand_get_flash_type': >> /opt/work/barebox/drivers/mtd/nand/nand_base.c:

Re: [PATCH v3] nand_base: sync flash detection functions with linux 3.9's code

2013-05-08 Thread Eric Bénard
Le Wed, 8 May 2013 19:45:41 +0200, Jean-Christophe PLAGNIOL-VILLARD a écrit : > one small issue > > /opt/work/barebox/drivers/mtd/nand/nand_base.c: In function > 'nand_get_flash_type': > /opt/work/barebox/drivers/mtd/nand/nand_base.c:1383:6: warning: unused > variable 'ret' > > otherwise it w

Re: [PATCH v3] nand_base: sync flash detection functions with linux 3.9's code

2013-05-08 Thread Jean-Christophe PLAGNIOL-VILLARD
one small issue /opt/work/barebox/drivers/mtd/nand/nand_base.c: In function 'nand_get_flash_type': /opt/work/barebox/drivers/mtd/nand/nand_base.c:1383:6: warning: unused variable 'ret' otherwise it work barebox 2013.05.0-00117-g62ef1d9 #615 Thu May 9 01:46:46 CST 2013 Board: Atmel at91sam9x5

[PATCH v3] nand_base: sync flash detection functions with linux 3.9's code

2013-05-08 Thread Eric Bénard
Signed-off-by: Eric Bénard --- drivers/mtd/nand/nand_base.c | 385 ++- include/linux/mtd/bbm.h | 2 + 2 files changed, 268 insertions(+), 119 deletions(-) diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index e8103cf..e601f8