summaryrefslogtreecommitdiffstats
path: root/target/linux/ar7/patches-2.6.32/170-clocks_init_earlier.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-04-17 18:39:38 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-04-17 18:39:38 +0000
commite2329f34d097ced237bb69e8431fea6cbeebd4fa (patch)
tree0a0c9e715409f00fa59911430c493c16bdfc8787 /target/linux/ar7/patches-2.6.32/170-clocks_init_earlier.patch
parentfb9db09832f7c47995675da262762c047a001e3a (diff)
ar7: remove patches/configs for old kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26707 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7/patches-2.6.32/170-clocks_init_earlier.patch')
-rw-r--r--target/linux/ar7/patches-2.6.32/170-clocks_init_earlier.patch53
1 files changed, 0 insertions, 53 deletions
diff --git a/target/linux/ar7/patches-2.6.32/170-clocks_init_earlier.patch b/target/linux/ar7/patches-2.6.32/170-clocks_init_earlier.patch
deleted file mode 100644
index a0b384aae..000000000
--- a/target/linux/ar7/patches-2.6.32/170-clocks_init_earlier.patch
+++ /dev/null
@@ -1,53 +0,0 @@
---- a/arch/mips/ar7/clock.c
-+++ b/arch/mips/ar7/clock.c
-@@ -232,12 +232,12 @@ static void tnetd7300_set_clock(u32 shif
- calculate(base_clock, frequency, &prediv, &postdiv, &mul);
-
- writel(((prediv - 1) << PREDIV_SHIFT) | (postdiv - 1), &clock->ctrl);
-- msleep(1);
-+ mdelay(1);
- writel(4, &clock->pll);
- while (readl(&clock->pll) & PLL_STATUS)
- ;
- writel(((mul - 1) << MUL_SHIFT) | (0xff << 3) | 0x0e, &clock->pll);
-- msleep(75);
-+ mdelay(75);
- }
-
- static void __init tnetd7300_init_clocks(void)
-@@ -407,7 +407,7 @@ static void __init tnetd7200_init_clocks
- iounmap(bootcr);
- }
-
--int __init ar7_init_clocks(void)
-+void __init ar7_init_clocks(void)
- {
- switch (ar7_chip_id()) {
- case AR7_CHIP_7100:
-@@ -421,7 +421,4 @@ int __init ar7_init_clocks(void)
- default:
- break;
- }
--
-- return 0;
- }
--arch_initcall(ar7_init_clocks);
---- a/arch/mips/ar7/time.c
-+++ b/arch/mips/ar7/time.c
-@@ -26,5 +26,7 @@
-
- void __init plat_time_init(void)
- {
-+ ar7_init_clocks();
-+
- mips_hpt_frequency = ar7_cpu_freq() / 2;
- }
---- a/arch/mips/include/asm/mach-ar7/ar7.h
-+++ b/arch/mips/include/asm/mach-ar7/ar7.h
-@@ -178,4 +178,6 @@ static inline void ar7_device_off(u32 bi
- msleep(20);
- }
-
-+extern void __init ar7_init_clocks(void);
-+
- #endif /* __AR7_H__ */