diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-04-08 17:20:01 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-04-08 17:20:01 +0000 |
commit | cae95423ec4b8a4f5c21df30b286d0948d1b3a99 (patch) | |
tree | 0080fa06c2c315f7024d59df093374feafbd4667 /target/linux/brcm63xx-2.6/files/arch/mips/bcm963xx/time.c | |
parent | 81de177cf7f11e71dabce072519d44d2897405b6 (diff) | |
download | master-187ad058-cae95423ec4b8a4f5c21df30b286d0948d1b3a99.tar.gz master-187ad058-cae95423ec4b8a4f5c21df30b286d0948d1b3a99.tar.bz2 master-187ad058-cae95423ec4b8a4f5c21df30b286d0948d1b3a99.zip |
Major cleanup :
- no more Broadcom kerSys* code
- working runtime boot loader detection
- updated flash map driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6896 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx-2.6/files/arch/mips/bcm963xx/time.c')
-rw-r--r-- | target/linux/brcm63xx-2.6/files/arch/mips/bcm963xx/time.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/brcm63xx-2.6/files/arch/mips/bcm963xx/time.c b/target/linux/brcm63xx-2.6/files/arch/mips/bcm963xx/time.c index b615c28429..8b82ada371 100644 --- a/target/linux/brcm63xx-2.6/files/arch/mips/bcm963xx/time.c +++ b/target/linux/brcm63xx-2.6/files/arch/mips/bcm963xx/time.c @@ -35,6 +35,8 @@ #include <asm/div64.h> #include <asm/time.h> +#include <6348_map_part.h> +#include <6348_intr.h> #include <bcm_map_part.h> #include <bcm_intr.h> @@ -54,7 +56,7 @@ static unsigned long r4k_cur; /* What counter should be at next timer irq */ static inline unsigned long __init calculateCpuSpeed(void) { - UINT32 pllStrap = PERF->PllStrap; + u32 pllStrap = PERF->PllStrap; int n1 = (pllStrap & PLL_N1_MASK) >> PLL_N1_SHFT; int n2 = (pllStrap & PLL_N2_MASK) >> PLL_N2_SHFT; int m1cpu = (pllStrap & PLL_M1_CPU_MASK) >> PLL_M1_CPU_SHFT; |