Re: [U-Boot] [PATCH 1/2] mmc: Fix timeout values passed to mmc_wait_dat0()

2019-08-29 Thread Peng Fan
> Subject: Re: [PATCH 1/2] mmc: Fix timeout values passed to mmc_wait_dat0() > > Hi Peng, > > On Tue, Aug 27, 2019 at 10:40 AM Peng Fan wrote: > > > > > Subject: [PATCH 1/2] mmc: Fix timeout values passed to > > > mmc_wait_dat0() > > > > > > mmc_wait_dat0() expects timeout argument to be in

Re: [U-Boot] [PATCH 1/2] mmc: Fix timeout values passed to mmc_wait_dat0()

2019-08-29 Thread Sam Protsenko
Hi Peng, On Tue, Aug 27, 2019 at 10:40 AM Peng Fan wrote: > > > Subject: [PATCH 1/2] mmc: Fix timeout values passed to mmc_wait_dat0() > > > > mmc_wait_dat0() expects timeout argument to be in usec units. But some > > overlying functions operate on timeout in msec units. Convert timeout from > >

Re: [U-Boot] [PATCH 1/2] mmc: Fix timeout values passed to mmc_wait_dat0()

2019-08-27 Thread Peng Fan
> Subject: [PATCH 1/2] mmc: Fix timeout values passed to mmc_wait_dat0() > > mmc_wait_dat0() expects timeout argument to be in usec units. But some > overlying functions operate on timeout in msec units. Convert timeout from > msec to usec when passing it to mmc_wait_dat0(). > > This fixes 'avb'

Re: [U-Boot] [PATCH 1/2] mmc: Fix timeout values passed to mmc_wait_dat0()

2019-08-19 Thread Igor Opaniuk
Hi Sam, So you finally found it :) On Wed, Aug 14, 2019 at 10:52 PM Sam Protsenko wrote: > > mmc_wait_dat0() expects timeout argument to be in usec units. But some > overlying functions operate on timeout in msec units. Convert timeout > from msec to usec when passing it to mmc_wait_dat0(). > >

Re: [U-Boot] [PATCH 1/2] mmc: Fix timeout values passed to mmc_wait_dat0()

2019-08-18 Thread Peng Fan
> Subject: [PATCH 1/2] mmc: Fix timeout values passed to mmc_wait_dat0() > > mmc_wait_dat0() expects timeout argument to be in usec units. But some > overlying functions operate on timeout in msec units. Convert timeout from > msec to usec when passing it to mmc_wait_dat0(). > > This fixes 'avb'

Re: [U-Boot] [PATCH 1/2] mmc: Fix timeout values passed to mmc_wait_dat0()

2019-08-16 Thread Eugeniu Rosca
Hi Sam, CC: Peng On Wed, Aug 14, 2019 at 10:52:50PM +0300, Sam Protsenko wrote: > mmc_wait_dat0() expects timeout argument to be in usec units. I agree, based on the documentation of wait_dat0() from commit:

[U-Boot] [PATCH 1/2] mmc: Fix timeout values passed to mmc_wait_dat0()

2019-08-14 Thread Sam Protsenko
mmc_wait_dat0() expects timeout argument to be in usec units. But some overlying functions operate on timeout in msec units. Convert timeout from msec to usec when passing it to mmc_wait_dat0(). This fixes 'avb' commands on BeagleBoard X15, because next chain was failing: get_partition() ->