/* * Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology * Author: Fuxin Zhang, zhangfx@lemote.com * * Copyright (C) 2009 Lemote Inc. * Author: Wu Zhangjin, wuzhangjin@gmail.com * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ #include <asm/mc146818-time.h> #include <asm/time.h> #include <asm/hpet.h> #include <loongson.h> #include <cs5536/cs5536_mfgpt.h>
void __init plat_time_init(void) { /* setup mips r4k timer */ mips_hpt_frequency = cpu_clock_freq / 2; #ifdef CONFIG_RS780_HPET setup_hpet_timer(); #else setup_mfgpt0_timer(); #endif }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Wu Zhangjin | 18 | 64.29% | 2 | 66.67% |
Huacai Chen | 10 | 35.71% | 1 | 33.33% |
Total | 28 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds | 16 | 69.57% | 2 | 66.67% |
Wu Zhangjin | 7 | 30.43% | 1 | 33.33% |
Total | 23 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Wu Zhangjin | 37 | 55.22% | 3 | 42.86% |
Linus Torvalds | 16 | 23.88% | 2 | 28.57% |
Huacai Chen | 13 | 19.40% | 1 | 14.29% |
Ralf Bächle | 1 | 1.49% | 1 | 14.29% |
Total | 67 | 100.00% | 7 | 100.00% |