[U-Boot] [PATCH 3/4] ARM: mmc: bcm283x: Remove get_timer_us() from mmc driver

Marek Vasut marex at denx.de
Thu Jun 18 14:35:27 CEST 2015


On Wednesday, June 17, 2015 at 06:13:03 PM, Jakub Kiciński wrote:
> On Wed, 17 Jun 2015 12:44:15 +0200, Marek Vasut wrote:
> > On Tuesday, June 16, 2015 at 05:44:06 AM, Stephen Warren wrote:
> > > On 05/04/2015 02:54 PM, Marek Vasut wrote:
> > > > The get_timer_us() function is something which is no longer
> > > > existing in case we use generic timer framework, so replace
> > > > it with get_timer().
> > > 
> > > Marek,
> > > 
> > > This patch causes "saveenv" to got from almost no time to nearly 50s on
> > > my RPi model A+. Can you take a look at that please?
> > 
> > Can you try the attached diff ? ;-/ I think I mistakenly used
> > get_timer(), which returns msecs instead of timer_get_us() which reports
> > usecs, sorry.
> 
> I can confirm this solves the regression.

That's not a regression, that was a bug ;-)
Thanks for testing :)

Best regards,
Marek Vasut


More information about the U-Boot mailing list