[U-Boot] [PATCH 1/9 v2] Exynos: Change get_timer() to work correctly

2013-02-28 Thread Akshay Saraswat
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 400080

Re: [U-Boot] [PATCH 1/9 v2] Exynos: Change get_timer() to work correctly

2013-03-27 Thread Minkyu Kang
Dear Akshay, On 28/02/13 19:59, Akshay Saraswat wrote: > 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_ti

Re: [U-Boot] [PATCH 1/9 v2] Exynos: Change get_timer() to work correctly

2013-03-28 Thread Akshay Saraswat
Thanks for your comments. Please find the reply corresponding to comments below. >Dear Akshay, > >On 28/02/13 19:59, Akshay Saraswat wrote: >> At present get_timer() does not return sane values. It should count up >> smoothly in milliscond intervals. >> >> diff --git a/arch/arm/cpu/armv7/s5p-comm