]> git.sur5r.net Git - u-boot/commit
ARM: bcm2835: fix get_timer() to return ms
authorStephen Warren <swarren@wwwdotorg.org>
Wed, 27 Mar 2013 18:43:23 +0000 (18:43 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 4 Apr 2013 06:14:54 +0000 (08:14 +0200)
commit5eaa215607c8668bfa6a7183407eba8fec63d648
tree84315e219ce066489ef830231a595f2427470dde
parent009d75ccc11d27b9a083375a88bb93cb746b4800
ARM: bcm2835: fix get_timer() to return ms

Apparently, CONFIG_SYS_HZ must be 1000. Change this, and fix the timer
driver to conform to this.

Have the timer implementation export a custom API get_timer_us() for use
by the BCM2835 MMC API, which needs us resolution for a HW workaround.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
arch/arm/cpu/arm1176/bcm2835/timer.c
arch/arm/include/asm/arch-bcm2835/timer.h
drivers/mmc/bcm2835_sdhci.c
include/configs/rpi_b.h