[U-Boot] am33xx: Drop timer_init call from s_init - udelay is wrong at ddr configuration

Tom Rini trini at konsulko.com
Tue Jul 21 23:06:08 CEST 2015


On Fri, Jul 17, 2015 at 07:47:44AM +0000, Egli, Samuel wrote:

> Hi Tom, 
> I stumbled over your commit b352dde1ea715e8481946ec7d8086b3c3eb126ae
> where you removed timer_init() from .../am33xx/board.c.
> 
> In the commit message it's written that timer_init will be called 
> earlier. However, since this commit udelay will not generate 
> correct delays in spl code in our am335xx based boards.
> I'm wondering where the timer_init shold be placed. grep-ing 
> the code I see that we have a call in spl.c but I this is 
> too late. 

Hmm, if you switch it over to using arch/arm/cpu/armv7/arch_timer.c does
the problem go away?  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150721/3c9a7cf6/attachment.sig>


More information about the U-Boot mailing list