]> git.sur5r.net Git - u-boot/commit
ARM: highbank: fix us_to_tick calculation
authorRob Herring <rob.herring@calxeda.com>
Wed, 1 Feb 2012 16:57:52 +0000 (16:57 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 28 Mar 2012 21:31:08 +0000 (23:31 +0200)
commitceb2071c6bdb9b0f6cfe9b0adecbe8d657be496e
tree50f986fee227df5b86b6ea185969c381cc194e6b
parentf1e2d1762dd727e43e22a474f0935475f77c19a5
ARM: highbank: fix us_to_tick calculation

udelay calls were off due to failing to convert us to ns. Fix this and drop
the unnecessary shifts since NS_PER_TICK is only 7ns.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
arch/arm/cpu/armv7/highbank/timer.c