Re: [PATCH v2] nand_base: detect more ONFI flash

2013-04-11 Thread Sascha Hauer
On Wed, Apr 10, 2013 at 06:04:52PM +0200, Eric Bénard wrote: > if the flash has a known type, the ONFI detection won't occur > and thus we may not detect the right parameters. > By testing both namd and pagesize, as done in the kernel, we > can detect ONFI flash with know IDs. > > As an example on

[PATCH v2] nand_base: detect more ONFI flash

2013-04-10 Thread Eric Bénard
if the flash has a known type, the ONFI detection won't occur and thus we may not detect the right parameters. By testing both namd and pagesize, as done in the kernel, we can detect ONFI flash with know IDs. As an example on an i.MX53 board : - without the patch : NAND device: Manufacturer ID: 0x