diff options
author | John Crispin <blogic@openwrt.org> | 2012-08-03 08:53:02 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-08-03 08:53:02 +0000 |
commit | ce06d1cf7baeb10aa3ffef90f51ee4c3a0b81a46 (patch) | |
tree | 81a9746583b2c1c212f8c35a51d07d9353080561 /target/linux/lantiq/patches-3.3/101-sdk-compat.patch | |
parent | a8facfad2aeb3c4eb9c5ee01f646fefd3f992351 (diff) | |
download | upstream-ce06d1cf7baeb10aa3ffef90f51ee4c3a0b81a46.tar.gz upstream-ce06d1cf7baeb10aa3ffef90f51ee4c3a0b81a46.tar.bz2 upstream-ce06d1cf7baeb10aa3ffef90f51ee4c3a0b81a46.zip |
[lantiq] cleanup patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32953 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches-3.3/101-sdk-compat.patch')
-rw-r--r-- | target/linux/lantiq/patches-3.3/101-sdk-compat.patch | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/target/linux/lantiq/patches-3.3/101-sdk-compat.patch b/target/linux/lantiq/patches-3.3/101-sdk-compat.patch deleted file mode 100644 index ca8d92eda3..0000000000 --- a/target/linux/lantiq/patches-3.3/101-sdk-compat.patch +++ /dev/null @@ -1,63 +0,0 @@ ---- /dev/null -+++ b/arch/mips/include/asm/mach-lantiq/falcon/sysctrl.h -@@ -0,0 +1,60 @@ -+/* -+ * 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. -+ * -+ * This program is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ * GNU General Public License for more details. -+ * -+ * You should have received a copy of the GNU General Public License -+ * along with this program; if not, write to the Free Software -+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, -+ * MA 02111-1307 USA -+ * -+ * Copyright (C) 2010 Thomas Langer, Lantiq Deutschland -+ */ -+ -+#ifndef __FALCON_SYSCTRL_H -+#define __FALCON_SYSCTRL_H -+ -+#include <falcon/lantiq_soc.h> -+ -+static inline void sys1_hw_activate(u32 mask) -+{ ltq_sysctl_activate(SYSCTL_SYS1, mask); } -+static inline void sys1_hw_deactivate(u32 mask) -+{ ltq_sysctl_deactivate(SYSCTL_SYS1, mask); } -+static inline void sys1_hw_clk_enable(u32 mask) -+{ ltq_sysctl_clken(SYSCTL_SYS1, mask); } -+static inline void sys1_hw_clk_disable(u32 mask) -+{ ltq_sysctl_clkdis(SYSCTL_SYS1, mask); } -+static inline void sys1_hw_activate_or_reboot(u32 mask) -+{ ltq_sysctl_reboot(SYSCTL_SYS1, mask); } -+ -+static inline void sys_eth_hw_activate(u32 mask) -+{ ltq_sysctl_activate(SYSCTL_SYSETH, mask); } -+static inline void sys_eth_hw_deactivate(u32 mask) -+{ ltq_sysctl_deactivate(SYSCTL_SYSETH, mask); } -+static inline void sys_eth_hw_clk_enable(u32 mask) -+{ ltq_sysctl_clken(SYSCTL_SYSETH, mask); } -+static inline void sys_eth_hw_clk_disable(u32 mask) -+{ ltq_sysctl_clkdis(SYSCTL_SYSETH, mask); } -+static inline void sys_eth_hw_activate_or_reboot(u32 mask) -+{ ltq_sysctl_reboot(SYSCTL_SYSETH, mask); } -+ -+static inline void sys_gpe_hw_activate(u32 mask) -+{ ltq_sysctl_activate(SYSCTL_SYSGPE, mask); } -+static inline void sys_gpe_hw_deactivate(u32 mask) -+{ ltq_sysctl_deactivate(SYSCTL_SYSGPE, mask); } -+static inline void sys_gpe_hw_clk_enable(u32 mask) -+{ ltq_sysctl_clken(SYSCTL_SYSGPE, mask); } -+static inline void sys_gpe_hw_clk_disable(u32 mask) -+{ ltq_sysctl_clkdis(SYSCTL_SYSGPE, mask); } -+static inline void sys_gpe_hw_activate_or_reboot(u32 mask) -+{ ltq_sysctl_reboot(SYSCTL_SYSGPE, mask); } -+static inline int sys_gpe_hw_is_activated(u32 mask) -+{ return 1; } -+ -+#endif /* __FALCON_SYSCTRL_H */ |