Re: [U-Boot] [PATCH v3 11/31] blk: Call part_init() in the post_probe() method

2018-12-12 Thread Hannes Schmelzer
On 12/13/18 8:40 AM, Bin Meng wrote: Hi Hannes, Hi Bin, On Thu, Dec 13, 2018 at 3:19 PM Hannes Schmelzer wrote: On 10/15/18 11:21 AM, Bin Meng wrote: part_init() is currently called in every DM BLK driver, either in its bind() or probe() method. However we can use the BLK uclass driver's

Re: [U-Boot] [PATCH v3 11/31] blk: Call part_init() in the post_probe() method

2018-12-12 Thread Bin Meng
Hi Hannes, On Thu, Dec 13, 2018 at 3:32 PM Hannes Schmelzer wrote: > > > > On 12/13/18 8:26 AM, Bin Meng wrote: > > Hi Hannes, > Hi Bin, > > On Thu, Dec 13, 2018 at 3:19 PM Hannes Schmelzer > > wrote: > >> > >> > >> On 10/15/18 11:21 AM, Bin Meng wrote: > >>> part_init() is currently called in

Re: [U-Boot] [PATCH v3 11/31] blk: Call part_init() in the post_probe() method

2018-12-12 Thread Hannes Schmelzer
On 12/13/18 8:26 AM, Bin Meng wrote: Hi Hannes, Hi Bin, On Thu, Dec 13, 2018 at 3:19 PM Hannes Schmelzer wrote: On 10/15/18 11:21 AM, Bin Meng wrote: part_init() is currently called in every DM BLK driver, either in its bind() or probe() method. However we can use the BLK uclass driver's

Re: [U-Boot] [PATCH v3 11/31] blk: Call part_init() in the post_probe() method

2018-12-12 Thread Bin Meng
Hi Hannes, On Thu, Dec 13, 2018 at 3:19 PM Hannes Schmelzer wrote: > > > > On 10/15/18 11:21 AM, Bin Meng wrote: > > part_init() is currently called in every DM BLK driver, either > > in its bind() or probe() method. However we can use the BLK > > uclass driver's post_probe() method to do it auto

Re: [U-Boot] [PATCH v3 11/31] blk: Call part_init() in the post_probe() method

2018-12-12 Thread Hannes Schmelzer
On 10/15/18 11:21 AM, Bin Meng wrote: part_init() is currently called in every DM BLK driver, either in its bind() or probe() method. However we can use the BLK uclass driver's post_probe() method to do it automatically. Update all DM BLK drivers to adopt this change. Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH v3 11/31] blk: Call part_init() in the post_probe() method

2018-10-24 Thread sjg
part_init() is currently called in every DM BLK driver, either in its bind() or probe() method. However we can use the BLK uclass driver's post_probe() method to do it automatically. Update all DM BLK drivers to adopt this change. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in

[U-Boot] [PATCH v3 11/31] blk: Call part_init() in the post_probe() method

2018-10-15 Thread Bin Meng
part_init() is currently called in every DM BLK driver, either in its bind() or probe() method. However we can use the BLK uclass driver's post_probe() method to do it automatically. Update all DM BLK drivers to adopt this change. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in