This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GPTIMER1 u-boot

Hello!

I work with AM335x. I need to work with the system clock (from linux) in u-boot.

I found in dmesg the following: 

[ 0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
[ 0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
...
[ 0.160186] Switching to clocksource gp timer

If I understood correctly the linux system clock is GPTIMER1.

How can I access this timer from u-boot? (I need to calibrate the system clock)

Best regards!