X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/dfffaea839fd631ec0b3d4f58540316a04c4f2ad..f8b56bc9d2cf811ccafa1f18d7de35f6698cbb84:/target/linux/lantiq/patches/100-falcon_bsp_header.patch diff --git a/target/linux/lantiq/patches/100-falcon_bsp_header.patch b/target/linux/lantiq/patches/100-falcon_bsp_header.patch index 4e8ce0836..61105504c 100644 --- a/target/linux/lantiq/patches/100-falcon_bsp_header.patch +++ b/target/linux/lantiq/patches/100-falcon_bsp_header.patch @@ -12048,51 +12048,6 @@ + +#endif /* _sys_gpe_reg_h */ --- /dev/null -+++ b/arch/mips/include/asm/mach-lantiq/falcon/sysctrl.h -@@ -0,0 +1,42 @@ -+/* -+ * 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 -+ -+extern void sys1_hw_activate(u32 mask); -+extern void sys1_hw_deactivate(u32 mask); -+extern void sys1_hw_clk_enable(u32 mask); -+extern void sys1_hw_clk_disable(u32 mask); -+extern void sys1_hw_activate_or_reboot(u32 mask); -+ -+extern void sys_eth_hw_activate(u32 mask); -+extern void sys_eth_hw_deactivate(u32 mask); -+extern void sys_eth_hw_clk_enable(u32 mask); -+extern void sys_eth_hw_clk_disable(u32 mask); -+extern void sys_eth_hw_activate_or_reboot(u32 mask); -+ -+extern void sys_gpe_hw_activate(u32 mask); -+extern void sys_gpe_hw_deactivate(u32 mask); -+extern void sys_gpe_hw_clk_enable(u32 mask); -+extern void sys_gpe_hw_clk_disable(u32 mask); -+extern void sys_gpe_hw_activate_or_reboot(u32 mask); -+extern int sys_gpe_hw_is_activated(u32 mask); -+ -+#endif /* __FALCON_SYSCTRL_H */ ---- /dev/null +++ b/arch/mips/include/asm/mach-lantiq/falcon/cpu-feature-overrides.h @@ -0,0 +1,58 @@ +/*