Hello.
Yoichi Yuasa wrote:
Set up Cobalt's mips_hpt_frequency.
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx>
diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/cobalt/time.c mips/arch/mips/cobalt/time.c
--- mips-orig/arch/mips/cobalt/time.c 2007-12-06 18:27:02.689043750 +0900
+++ mips/arch/mips/cobalt/time.c 2007-12-09 17:13:37.916769000 +0900
@@ -27,9 +27,28 @@
void __init plat_time_init(void)
{
+ u32 start, end;
+ int i = HZ / 10;
+
setup_pit_timer();
gt641xx_set_base_clock(GT641XX_BASE_CLOCK);
- mips_timer_state = gt641xx_timer0_state;
+ /*
+ * MIPS counter frequency is measured between 100msec
s/between/during/
WBR, Sergei