Hi Lokesh, On Thu, Nov 7, 2013 at 8:43 AM, Lokesh Vutla <lokeshvu...@ti.com> wrote: > Hi Vaibhav, > On Wednesday 06 November 2013 06:10 PM, Vaibhav Bedia wrote: >> On Mon, Nov 4, 2013 at 11:20 PM, Lokesh Vutla <lokeshvu...@ti.com> wrote: >>> Selecting the Master osc clk as Timer2 clock source. >> >> I obviously missed the first round of patches for AM43xx here. Why is >> timer2 being used here? Don't we use the synctimer and timer1 in the kernel? > In u-boot there is already code present to handle timer2 in > arch/arm/cpu/armv7/omap-common/timer.c(Registers offsets are different for > timer1 and timer2) . Trying to reuse the same here. > This is how it is done in am335x also. > Correct me if I am wrong.
On AM335x that timer is used in U-Boot in the delay loop and later gets used in the kernel as a system timer. On AM437x it might be a good idea to use synctimer since it has some stabilization period requirements and that's going to affect the kernel boot eventually. Regards, Vaibhav _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot