Re: [U-Boot] [PATCH] dm: mmc: Add the function for getting current device number

2016-07-14 Thread Jaehoon Chung
On 07/13/2016 06:57 AM, Simon Glass wrote: > Hi Jaehoon, > > On 4 July 2016 at 01:40, Jaehoon Chung wrote: >> get_mmc_num can be returned 0. Then if you use the "mmcinfo" command, it >> can't print the mmc information. >> If get_mmc_num is 0, it means that there is not mmc device. >> So it added

Re: [U-Boot] [PATCH] dm: mmc: Add the function for getting current device number

2016-07-12 Thread Simon Glass
Hi Jaehoon, On 4 July 2016 at 01:40, Jaehoon Chung wrote: > get_mmc_num can be returned 0. Then if you use the "mmcinfo" command, it > can't print the mmc information. > If get_mmc_num is 0, it means that there is not mmc device. > So it added the get_mmc_curr_num() function for getting current d

[U-Boot] [PATCH] dm: mmc: Add the function for getting current device number

2016-07-04 Thread Jaehoon Chung
get_mmc_num can be returned 0. Then if you use the "mmcinfo" command, it can't print the mmc information. If get_mmc_num is 0, it means that there is not mmc device. So it added the get_mmc_curr_num() function for getting current device number(index). And get_mmc_num() is returned the number of dev