Re: [U-Boot] [PATCH v4] mmc-uclass: correct the device number

2016-07-27 Thread Simon Glass
On 24 July 2016 at 23:11, Jaehoon Chung wrote: > On 07/23/2016 11:08 AM, Simon Glass wrote: >> On 22 July 2016 at 03:22, Kever Yang wrote: >>> Not like the mmc-legacy which the devnum starts from 1, it starts from 0 >>> in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num().

Re: [U-Boot] [PATCH v4] mmc-uclass: correct the device number

2016-07-24 Thread Jaehoon Chung
On 07/23/2016 11:08 AM, Simon Glass wrote: > On 22 July 2016 at 03:22, Kever Yang wrote: >> Not like the mmc-legacy which the devnum starts from 1, it starts from 0 >> in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num(). >> >> Signed-off-by: Kever Yang >> --- >> >> Changes

Re: [U-Boot] [PATCH v4] mmc-uclass: correct the device number

2016-07-22 Thread Simon Glass
On 22 July 2016 at 03:22, Kever Yang wrote: > Not like the mmc-legacy which the devnum starts from 1, it starts from 0 > in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num(). > > Signed-off-by: Kever Yang > --- > > Changes in v4: > - call blk_find_max_devnum() in mmc_get_ne

[U-Boot] [PATCH v4] mmc-uclass: correct the device number

2016-07-22 Thread Kever Yang
Not like the mmc-legacy which the devnum starts from 1, it starts from 0 in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num(). Signed-off-by: Kever Yang --- Changes in v4: - call blk_find_max_devnum() in mmc_get_next_devnum for error return. Changes in v3: - apply comment