[U-Boot-Users] Is there a way to get total time passed since boot in U-Boot?

Hi All,
I am working on MPC8548 U-Boot. Here, I have a requirement where I need to get the total number of millisecs/secs elapsed since the boot (similar to what jiffies do in linux). Please let me know if there is a way to get this in U-Boot code?
Thanks muchly, Vinay
____________________________________________________________________________________ Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/

In message 731794.82779.qm@web8405.mail.in.yahoo.com you wrote:
I am working on MPC8548 U-Boot. Here, I have a requirement where I need to get the total number of millisecs/secs elapsed since the boot (similar to what
How do you define "since the boot"?
Since power-on? Sinde the HRESET condition ended? Since the CPU was executing the first instruction?
jiffies do in linux). Please let me know if there is a way to get this in U-Boot code?
Read the timebase - I'm not sure if this is what you want, but this is what you can get easily :-)
Best regards,
Wolfgang Denk
participants (2)
-
vinay hegde
-
Wolfgang Denk