diff options
author | Simon Glass <sjg@chromium.org> | 2013-03-28 04:32:16 +0000 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2013-04-01 14:02:08 +0900 |
commit | 3d00c0cb96ff93a929700b80d89cb905e5ab5315 (patch) | |
tree | 4e15549394ed5b4b6c30becec48ef2d0a928e604 /lib/fdtdec.c | |
parent | 4f3bfa97c4b8f88f44aa946427eb9be12b296c96 (diff) | |
download | u-boot-imx-3d00c0cb96ff93a929700b80d89cb905e5ab5315.zip u-boot-imx-3d00c0cb96ff93a929700b80d89cb905e5ab5315.tar.gz u-boot-imx-3d00c0cb96ff93a929700b80d89cb905e5ab5315.tar.bz2 |
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>
Diffstat (limited to 'lib/fdtdec.c')
0 files changed, 0 insertions, 0 deletions