From db82ebb95c9d055a8cd0732078b564f47fbd98bd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 7 Apr 2013 11:24:30 +0000 Subject: [PATCH] cns3xxx: remove the watchdog IRQ from the resources, it breaks the driver init and is useful only for testing Signed-off-by: Felix Fietkau SVN-Revision: 36241 --- target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c | 5 ----- target/linux/cns3xxx/patches-3.8/025-smp_support.patch | 2 +- 2 files changed, 1 insertion(+), 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 84a440bf18..cd1aa716dc 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 a9856451bf..e777938e57 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") -- 2.30.2