Re: [linux-sunxi] [PATCH v2 7/7] spl: nand: sunxi: add support for NAND config auto-detection

2016-06-01 Thread Maxime Ripard
Hi, On Wed, Jun 01, 2016 at 03:35:07PM +0300, Siarhei Siamashka wrote: > On Wed, 1 Jun 2016 13:23:24 +0200 > Boris Brezillon wrote: > > > NAND chips are supposed to expose their capabilities through advanced > > mechanisms like READID, ONFI or JEDEC

Re: [linux-sunxi] [PATCH v2 7/7] spl: nand: sunxi: add support for NAND config auto-detection

2016-06-01 Thread Boris Brezillon
On Wed, 1 Jun 2016 15:35:07 +0300 Siarhei Siamashka wrote: > On Wed, 1 Jun 2016 13:23:24 +0200 > Boris Brezillon wrote: > > > NAND chips are supposed to expose their capabilities through advanced > > mechanisms like READID, ONFI

Re: [linux-sunxi] [PATCH v2 7/7] spl: nand: sunxi: add support for NAND config auto-detection

2016-06-01 Thread Siarhei Siamashka
On Wed, 1 Jun 2016 13:23:24 +0200 Boris Brezillon wrote: > NAND chips are supposed to expose their capabilities through advanced > mechanisms like READID, ONFI or JEDEC parameter tables. While those > methods are appropriate for the bootloader itself, it's

[linux-sunxi] [PATCH v2 7/7] spl: nand: sunxi: add support for NAND config auto-detection

2016-06-01 Thread Boris Brezillon
NAND chips are supposed to expose their capabilities through advanced mechanisms like READID, ONFI or JEDEC parameter tables. While those methods are appropriate for the bootloader itself, it's way to complicated and takes too much space to fit in the SPL. Replace those mechanisms by a dumb