Re: [U-Boot] [PATCH v4 01/18] cmd: nand: abstract global variable usage for dm conversion

2017-07-08 Thread Grygorii Strashko
On 07/08/2017 11:08 AM, Simon Glass wrote: > Hi, > > On 7 July 2017 at 18:32, Grygorii Strashko wrote: >> >> >> On 07/06/2017 10:58 PM, Simon Glass wrote: >>> >>> Hi, >>> >>> On 26 June 2017 at 18:12, Grygorii Strashko >>> wrote: From: Mugunthan V N nand_info is used all o

Re: [U-Boot] [PATCH v4 01/18] cmd: nand: abstract global variable usage for dm conversion

2017-07-08 Thread Simon Glass
Hi, On 7 July 2017 at 18:32, Grygorii Strashko wrote: > > > On 07/06/2017 10:58 PM, Simon Glass wrote: >> >> Hi, >> >> On 26 June 2017 at 18:12, Grygorii Strashko >> wrote: >>> >>> From: Mugunthan V N >>> >>> nand_info is used all over the file so abstract it with >>> get_nand_dev_by_index() wh

Re: [U-Boot] [PATCH v4 01/18] cmd: nand: abstract global variable usage for dm conversion

2017-07-07 Thread Grygorii Strashko
On 07/06/2017 10:58 PM, Simon Glass wrote: Hi, On 26 June 2017 at 18:12, Grygorii Strashko wrote: From: Mugunthan V N nand_info is used all over the file so abstract it with get_nand_dev_by_index() which will help for DM conversion. Signed-off-by: Mugunthan V N Signed-off-by: Grygorii St

Re: [U-Boot] [PATCH v4 01/18] cmd: nand: abstract global variable usage for dm conversion

2017-07-06 Thread Simon Glass
Hi, On 26 June 2017 at 18:12, Grygorii Strashko wrote: > From: Mugunthan V N > > nand_info is used all over the file so abstract it with > get_nand_dev_by_index() which will help for DM conversion. > > Signed-off-by: Mugunthan V N > Signed-off-by: Grygorii Strashko > --- > cmd/nand.c

[U-Boot] [PATCH v4 01/18] cmd: nand: abstract global variable usage for dm conversion

2017-06-26 Thread Grygorii Strashko
From: Mugunthan V N nand_info is used all over the file so abstract it with get_nand_dev_by_index() which will help for DM conversion. Signed-off-by: Mugunthan V N Signed-off-by: Grygorii Strashko --- cmd/nand.c | 69 +--- drivers/mtd/