Re: [PATCH v3 33/33] mtd: rawnand: allocate dynamically ONFI parameters during detection

2018-07-19 Thread Boris Brezillon
On Fri, 20 Jul 2018 01:00:26 +0200 Miquel Raynal wrote: > Now that it is possible to do dynamic allocations during the > identification phase, convert the onfi_params structure (which is only > needed with ONFI compliant chips) into a pointer that will be allocated > only if needed. > >

Re: [PATCH v3 33/33] mtd: rawnand: allocate dynamically ONFI parameters during detection

2018-07-19 Thread Boris Brezillon
On Fri, 20 Jul 2018 01:00:26 +0200 Miquel Raynal wrote: > Now that it is possible to do dynamic allocations during the > identification phase, convert the onfi_params structure (which is only > needed with ONFI compliant chips) into a pointer that will be allocated > only if needed. > >

[PATCH v3 33/33] mtd: rawnand: allocate dynamically ONFI parameters during detection

2018-07-19 Thread Miquel Raynal
Now that it is possible to do dynamic allocations during the identification phase, convert the onfi_params structure (which is only needed with ONFI compliant chips) into a pointer that will be allocated only if needed. Signed-off-by: Miquel Raynal --- drivers/mtd/nand/raw/nand_base.c| 61

[PATCH v3 33/33] mtd: rawnand: allocate dynamically ONFI parameters during detection

2018-07-19 Thread Miquel Raynal
Now that it is possible to do dynamic allocations during the identification phase, convert the onfi_params structure (which is only needed with ONFI compliant chips) into a pointer that will be allocated only if needed. Signed-off-by: Miquel Raynal --- drivers/mtd/nand/raw/nand_base.c| 61