I tracked jiffies (on Linux) incrementing twice as fast on
lite5200b to this ("timebase-frequency" property).

G2 core reference manual says decrementer and time base
are decreasing/increasing once every 4 bus clock cycles.

Was there a reason this was busfreq/8?


        Domen
---
 include/configs/IceCube.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: u-boot.git/include/configs/IceCube.h
===================================================================
--- u-boot.git.orig/include/configs/IceCube.h
+++ u-boot.git/include/configs/IceCube.h
@@ -182,7 +182,7 @@
 
 #define OF_CPU                 "PowerPC,[EMAIL PROTECTED]"
 #define OF_SOC                 "[EMAIL PROTECTED]"
-#define OF_TBCLK               (bd->bi_busfreq / 8)
+#define OF_TBCLK               (bd->bi_busfreq / 4)
 #define OF_STDOUT_PATH         "/[EMAIL PROTECTED]/[EMAIL PROTECTED]"
 
 /*
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to