summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-04-07 11:24:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-04-07 11:24:30 +0000
commitfde143b66f2e627280d966e0fe3a08ec5ba78d96 (patch)
tree9f4b71f653a0bae3a94a9e51417dff2d2f73b3ac
parentc270db592a9bfc16b950ad1469a9133c8905af12 (diff)
downloadmtk-20170518-fde143b66f2e627280d966e0fe3a08ec5ba78d96.zip
mtk-20170518-fde143b66f2e627280d966e0fe3a08ec5ba78d96.tar.gz
mtk-20170518-fde143b66f2e627280d966e0fe3a08ec5ba78d96.tar.bz2
cns3xxx: remove the watchdog IRQ from the resources, it breaks the driver init and is useful only for testing
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36241
-rw-r--r--target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c5
-rw-r--r--target/linux/cns3xxx/patches-3.8/025-smp_support.patch2
2 files changed, 1 insertions, 6 deletions
diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c
index 84a440b..cd1aa71 100644
--- a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c
+++ b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c
@@ -567,11 +567,6 @@ static struct resource laguna_watchdog_resources[] = {
.end = CNS3XXX_TC11MP_TWD_BASE + SZ_4K - 1,
.flags = IORESOURCE_MEM,
},
- [1] = {
- .start = IRQ_LOCALWDOG,
- .end = IRQ_LOCALWDOG,
- .flags = IORESOURCE_IRQ,
- }
};
static struct platform_device laguna_watchdog = {
diff --git a/target/linux/cns3xxx/patches-3.8/025-smp_support.patch b/target/linux/cns3xxx/patches-3.8/025-smp_support.patch
index a985645..e777938 100644
--- a/target/linux/cns3xxx/patches-3.8/025-smp_support.patch
+++ b/target/linux/cns3xxx/patches-3.8/025-smp_support.patch
@@ -28,7 +28,7 @@
#ifdef CONFIG_CACHE_L2X0
--- a/arch/arm/mach-cns3xxx/laguna.c
+++ b/arch/arm/mach-cns3xxx/laguna.c
-@@ -946,6 +946,7 @@ static int __init laguna_model_setup(voi
+@@ -941,6 +941,7 @@ static int __init laguna_model_setup(voi
late_initcall(laguna_model_setup);
MACHINE_START(GW2388, "Gateworks Corporation Laguna Platform")