summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.6/0001-MIPS-lantiq-explicitly-enable-clkout-generation.patch
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-15 02:01:08 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-15 02:01:08 +0000
commit553786683f6d1316f38c7459fb17f3f88e9c553d (patch)
treeaa951f60a68199ebc90babec9aa5580a7159e479 /target/linux/lantiq/patches-3.6/0001-MIPS-lantiq-explicitly-enable-clkout-generation.patch
parent5d8e0585ac778f4dde3ead2cee576695c351c628 (diff)
[lantiq] remove 3.3 and 3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34699 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches-3.6/0001-MIPS-lantiq-explicitly-enable-clkout-generation.patch')
-rw-r--r--target/linux/lantiq/patches-3.6/0001-MIPS-lantiq-explicitly-enable-clkout-generation.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/target/linux/lantiq/patches-3.6/0001-MIPS-lantiq-explicitly-enable-clkout-generation.patch b/target/linux/lantiq/patches-3.6/0001-MIPS-lantiq-explicitly-enable-clkout-generation.patch
deleted file mode 100644
index 50428d6e6..000000000
--- a/target/linux/lantiq/patches-3.6/0001-MIPS-lantiq-explicitly-enable-clkout-generation.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 98dbc5764d8b6fa9cabe316fe725281703bf0fc6 Mon Sep 17 00:00:00 2001
-From: John Crispin <blogic@openwrt.org>
-Date: Tue, 24 Jul 2012 08:56:41 +0200
-Subject: [PATCH] MIPS: lantiq: explicitly enable clkout generation
-
-Previously we relied on the bootloader to have enabled this bit. However some
-bootloaders seem to not enable this for us.
-
-Signed-off-by: John Crispin <blogic@openwrt.org>
-Patchwork: http://patchwork.linux-mips.org/patch/4120/
----
- arch/mips/lantiq/xway/sysctrl.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c
-index befbb76..8430983 100644
---- a/arch/mips/lantiq/xway/sysctrl.c
-+++ b/arch/mips/lantiq/xway/sysctrl.c
-@@ -187,10 +187,12 @@ static int clkout_enable(struct clk *clk)
- for (i = 0; i < 4; i++) {
- if (clk->rates[i] == clk->rate) {
- int shift = 14 - (2 * clk->module);
-+ int enable = 7 - clk->module;
- unsigned int val = ltq_cgu_r32(ifccr);
-
- val &= ~(3 << shift);
- val |= i << shift;
-+ val |= enable;
- ltq_cgu_w32(val, ifccr);
- return 0;
- }
---
-1.7.10.4
-