summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-07 21:13:13 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-07 21:13:13 +0000
commit1e643c087d11928b9d1e0aea11df00ac38177f4c (patch)
treedf0e9beadf5fae3d6801f73946168d1f9576c009 /target
parent5e628c6e90348ce572efa4eaa0fc44809ee63b70 (diff)
[cns3xxx]: update 3.1 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28814 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/cns3xxx/patches-3.1/001-cns3xxx_remove_missing_includes.patch45
-rw-r--r--target/linux/cns3xxx/patches-3.1/049-cns3xxx_smp_support.patch2
-rw-r--r--target/linux/cns3xxx/patches-3.1/100-laguna_support.patch16
-rw-r--r--target/linux/cns3xxx/patches-3.1/104-cns3xxx_gpio.patch2
4 files changed, 10 insertions, 55 deletions
diff --git a/target/linux/cns3xxx/patches-3.1/001-cns3xxx_remove_missing_includes.patch b/target/linux/cns3xxx/patches-3.1/001-cns3xxx_remove_missing_includes.patch
deleted file mode 100644
index ddc060aa6..000000000
--- a/target/linux/cns3xxx/patches-3.1/001-cns3xxx_remove_missing_includes.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From b1bd6bd7c230e00b40b0b859f3c23eb56ef39f0c Mon Sep 17 00:00:00 2001
-From: Imre Kaloz <kaloz@openwrt.org>
-Date: Fri, 2 Sep 2011 08:07:00 +0200
-Subject: [PATCH] ARM: remove missing cns3xxx includes
-
-Commit c9d95fbe59e426eed7f16e7cac812e46ac4772d0 deleted cns3xxx' hardware.h,
-but didn't remove references for it, breaking the build.
-
-Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
----
- arch/arm/mach-cns3xxx/include/mach/entry-macro.S | 1 -
- arch/arm/mach-cns3xxx/include/mach/system.h | 1 -
- arch/arm/mach-cns3xxx/include/mach/uncompress.h | 1 -
- 3 files changed, 0 insertions(+), 3 deletions(-)
-
---- a/arch/arm/mach-cns3xxx/include/mach/entry-macro.S
-+++ b/arch/arm/mach-cns3xxx/include/mach/entry-macro.S
-@@ -8,7 +8,6 @@
- * published by the Free Software Foundation.
- */
-
--#include <mach/hardware.h>
- #include <asm/hardware/entry-macro-gic.S>
-
- .macro disable_fiq
---- a/arch/arm/mach-cns3xxx/include/mach/system.h
-+++ b/arch/arm/mach-cns3xxx/include/mach/system.h
-@@ -13,7 +13,6 @@
-
- #include <linux/io.h>
- #include <asm/proc-fns.h>
--#include <mach/hardware.h>
-
- static inline void arch_idle(void)
- {
---- a/arch/arm/mach-cns3xxx/include/mach/uncompress.h
-+++ b/arch/arm/mach-cns3xxx/include/mach/uncompress.h
-@@ -8,7 +8,6 @@
- */
-
- #include <asm/mach-types.h>
--#include <mach/hardware.h>
- #include <mach/cns3xxx.h>
-
- #define AMBA_UART_DR(base) (*(volatile unsigned char *)((base) + 0x00))
diff --git a/target/linux/cns3xxx/patches-3.1/049-cns3xxx_smp_support.patch b/target/linux/cns3xxx/patches-3.1/049-cns3xxx_smp_support.patch
index 492312931..854c7fa7a 100644
--- a/target/linux/cns3xxx/patches-3.1/049-cns3xxx_smp_support.patch
+++ b/target/linux/cns3xxx/patches-3.1/049-cns3xxx_smp_support.patch
@@ -404,7 +404,7 @@
+}
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
-@@ -1350,7 +1350,7 @@ config SMP
+@@ -1376,7 +1376,7 @@ config SMP
depends on REALVIEW_EB_ARM11MP || REALVIEW_EB_A9MP || \
MACH_REALVIEW_PB11MP || MACH_REALVIEW_PBX || ARCH_OMAP4 || \
ARCH_EXYNOS4 || ARCH_TEGRA || ARCH_U8500 || ARCH_VEXPRESS_CA9X4 || \
diff --git a/target/linux/cns3xxx/patches-3.1/100-laguna_support.patch b/target/linux/cns3xxx/patches-3.1/100-laguna_support.patch
index 7e6628bad..12fe8005e 100644
--- a/target/linux/cns3xxx/patches-3.1/100-laguna_support.patch
+++ b/target/linux/cns3xxx/patches-3.1/100-laguna_support.patch
@@ -980,13 +980,13 @@
pm_power_off = cns3xxx_power_off;
}
---- a/arch/arm/mach-cns3xxx/include/mach/platform.h
-+++ b/arch/arm/mach-cns3xxx/include/mach/platform.h
-@@ -22,5 +22,7 @@ struct cns3xxx_plat_info {
- u32 phy[3];
- };
+--- a/arch/arm/mach-cns3xxx/core.h
++++ b/arch/arm/mach-cns3xxx/core.h
+@@ -12,6 +12,7 @@
+ #define __CNS3XXX_CORE_H
+ extern struct sys_timer cns3xxx_timer;
+extern int cns3xxx_pcie_init(u8 bitmap);
-+
- #endif /* __ASM_ARCH_PLATFORM_H */
- #endif
+
+ #ifdef CONFIG_CACHE_L2X0
+ void __init cns3xxx_l2x0_init(void);
diff --git a/target/linux/cns3xxx/patches-3.1/104-cns3xxx_gpio.patch b/target/linux/cns3xxx/patches-3.1/104-cns3xxx_gpio.patch
index 8b656965f..6dff5b07d 100644
--- a/target/linux/cns3xxx/patches-3.1/104-cns3xxx_gpio.patch
+++ b/target/linux/cns3xxx/patches-3.1/104-cns3xxx_gpio.patch
@@ -119,7 +119,7 @@
/* used by entry-macro.S */
--- a/arch/arm/mach-cns3xxx/core.h
+++ b/arch/arm/mach-cns3xxx/core.h
-@@ -19,7 +19,7 @@ void __init cns3xxx_l2x0_init(void);
+@@ -20,7 +20,7 @@ void __init cns3xxx_l2x0_init(void);
static inline void cns3xxx_l2x0_init(void) {}
#endif /* CONFIG_CACHE_L2X0 */