2
0
Fork 0
mirror of https://github.com/AsahiLinux/u-boot synced 2025-02-21 16:38:55 +00:00
u-boot/arch/arm
Simon Glass 3d00c0cb96 Exynos: Change get_timer() to work correctly
At present get_timer() does not return sane values. It should count up
smoothly in milliscond intervals.

We can change the PWM to count down at 1MHz, providing a resolution
of 1us and a range of about an hour between required get_timer() calls.

Test with command "sf probe 1:0; time sf read 40008000 0 1000".
Try with different numbers of bytes and see that sane values are obtained

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Akshay Saraswat <akshay.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
2013-04-01 14:02:08 +09:00
..
cpu Exynos: Change get_timer() to work correctly 2013-04-01 14:02:08 +09:00
dts EXYNOS5: Add device node for DP 2013-03-27 21:23:18 +09:00
imx-common Merge branch 'master' of git://git.denx.de/u-boot-arm 2013-02-12 10:18:31 -05:00
include/asm Exynos: Add hardware accelerated SHA256 and SHA1 2013-03-29 20:10:42 +09:00
lib Merge branch 'master' of git://git.denx.de/u-boot-arm 2013-03-18 14:37:18 -04:00
config.mk arm: Correct CONFIG_STANDALONE_LOAD_ADDR for AM33XX/OMAP* platforms 2013-03-24 12:49:12 -04:00