aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2012-11-12 09:18:00 +0000
committerImre Kaloz <kaloz@openwrt.org>2012-11-12 09:18:00 +0000
commit29fb5ae7927dae81d76acd79ee8c3f6bee5fd099 (patch)
tree97b650ca1cf4ee2701cbd835e0fcf87dc20e0b8a /target
parent7a955260a68b62c4c769b79bb22c545019c98d3d (diff)
downloadmaster-187ad058-29fb5ae7927dae81d76acd79ee8c3f6bee5fd099.tar.gz
master-187ad058-29fb5ae7927dae81d76acd79ee8c3f6bee5fd099.tar.bz2
master-187ad058-29fb5ae7927dae81d76acd79ee8c3f6bee5fd099.zip
[cns3xxx]: reorder, rename and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34169 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/cns3xxx/patches-3.3/010-move_virtual_io_space.patch (renamed from target/linux/cns3xxx/patches-3.3/060-move_virtual_io_space.patch)2
-rw-r--r--target/linux/cns3xxx/patches-3.3/015-clkdev_support.patch (renamed from target/linux/cns3xxx/patches-3.3/001-cns3xxx-clkdev-support.patch)2
-rw-r--r--target/linux/cns3xxx/patches-3.3/020-watchdog_support.patch (renamed from target/linux/cns3xxx/patches-3.3/002-cns3xxx_wdt.patch)0
-rw-r--r--target/linux/cns3xxx/patches-3.3/025-smp_support.patch (renamed from target/linux/cns3xxx/patches-3.3/049-cns3xxx_smp_support.patch)0
-rw-r--r--target/linux/cns3xxx/patches-3.3/030-pcie_clock.patch (renamed from target/linux/cns3xxx/patches-3.3/054-cns3xxx_pcie_clock.patch)0
-rw-r--r--target/linux/cns3xxx/patches-3.3/035-add_io_spaces.patch (renamed from target/linux/cns3xxx/patches-3.3/100-add_io_spaces.patch)2
-rw-r--r--target/linux/cns3xxx/patches-3.3/040-fiq_support.patch (renamed from target/linux/cns3xxx/patches-3.3/460-cns3xxx_fiq_support.patch)6
-rw-r--r--target/linux/cns3xxx/patches-3.3/045-twd_base.patch (renamed from target/linux/cns3xxx/patches-3.3/061-twd_base.patch)2
-rw-r--r--target/linux/cns3xxx/patches-3.3/050-pcie_section_mismatch_fixes.patch (renamed from target/linux/cns3xxx/patches-3.3/107-cns3xxx_pcie-section-mismatch-fixes.patch)0
-rw-r--r--target/linux/cns3xxx/patches-3.3/055-pcie_io.patch (renamed from target/linux/cns3xxx/patches-3.3/105-cns3xxx_pcie_io.patch)17
-rw-r--r--target/linux/cns3xxx/patches-3.3/060-pcie_abort.patch (renamed from target/linux/cns3xxx/patches-3.3/108-cns3xxx_pcie-abort.patch)0
-rw-r--r--target/linux/cns3xxx/patches-3.3/065-pcie_early_init.patch (renamed from target/linux/cns3xxx/patches-3.3/480-cns3xxx_pcie_early_init.patch)6
-rw-r--r--target/linux/cns3xxx/patches-3.3/070-i2c_support.patch (renamed from target/linux/cns3xxx/patches-3.3/050-cns3xxx_i2c_controller.patch)0
-rw-r--r--target/linux/cns3xxx/patches-3.3/075-spi_support.patch (renamed from target/linux/cns3xxx/patches-3.3/052-cns3xxx_spi.patch)0
-rw-r--r--target/linux/cns3xxx/patches-3.3/080-sata_support.patch (renamed from target/linux/cns3xxx/patches-3.3/106-cns3xxx_sata_support.patch)0
-rw-r--r--target/linux/cns3xxx/patches-3.3/085-ethernet_support.patch (renamed from target/linux/cns3xxx/patches-3.3/600-cns3xxx_ethernet.patch)0
-rw-r--r--target/linux/cns3xxx/patches-3.3/090-timers.patch (renamed from target/linux/cns3xxx/patches-3.3/102-cns3xxx_timers.patch)10
-rw-r--r--target/linux/cns3xxx/patches-3.3/095-gpio_support.patch (renamed from target/linux/cns3xxx/patches-3.3/104-cns3xxx_gpio.patch)8
-rw-r--r--target/linux/cns3xxx/patches-3.3/100-gpio_irq.patch (renamed from target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch)2
-rw-r--r--target/linux/cns3xxx/patches-3.3/200-dwc_otg_support.patch (renamed from target/linux/cns3xxx/patches-3.3/800-cns3xxx-dwc_otg.patch)0
-rw-r--r--target/linux/cns3xxx/patches-3.3/300-laguna_support.patch4
-rw-r--r--target/linux/cns3xxx/patches-3.3/305-laguna_sdhci_card_detect.patch (renamed from target/linux/cns3xxx/patches-3.3/101-laguna_sdhci_card_detect.patch)0
22 files changed, 25 insertions, 36 deletions
diff --git a/target/linux/cns3xxx/patches-3.3/060-move_virtual_io_space.patch b/target/linux/cns3xxx/patches-3.3/010-move_virtual_io_space.patch
index 7d9d04380b..c7d89d5d0f 100644
--- a/target/linux/cns3xxx/patches-3.3/060-move_virtual_io_space.patch
+++ b/target/linux/cns3xxx/patches-3.3/010-move_virtual_io_space.patch
@@ -1,6 +1,6 @@
--- a/arch/arm/mach-cns3xxx/core.c
+++ b/arch/arm/mach-cns3xxx/core.c
-@@ -31,17 +31,7 @@ static struct map_desc cns3xxx_io_desc[]
+@@ -24,17 +24,7 @@ static struct map_desc cns3xxx_io_desc[]
{
.virtual = CNS3XXX_TC11MP_TWD_BASE_VIRT,
.pfn = __phys_to_pfn(CNS3XXX_TC11MP_TWD_BASE),
diff --git a/target/linux/cns3xxx/patches-3.3/001-cns3xxx-clkdev-support.patch b/target/linux/cns3xxx/patches-3.3/015-clkdev_support.patch
index bc8773ca42..8d10822bd3 100644
--- a/target/linux/cns3xxx/patches-3.3/001-cns3xxx-clkdev-support.patch
+++ b/target/linux/cns3xxx/patches-3.3/015-clkdev_support.patch
@@ -33,7 +33,7 @@
static struct map_desc cns3xxx_io_desc[] __initdata = {
{
.virtual = CNS3XXX_TC11MP_TWD_BASE_VIRT,
-@@ -287,3 +294,33 @@ void __init cns3xxx_l2x0_init(void)
+@@ -277,3 +284,33 @@ void __init cns3xxx_l2x0_init(void)
}
#endif /* CONFIG_CACHE_L2X0 */
diff --git a/target/linux/cns3xxx/patches-3.3/002-cns3xxx_wdt.patch b/target/linux/cns3xxx/patches-3.3/020-watchdog_support.patch
index 46347621e4..46347621e4 100644
--- a/target/linux/cns3xxx/patches-3.3/002-cns3xxx_wdt.patch
+++ b/target/linux/cns3xxx/patches-3.3/020-watchdog_support.patch
diff --git a/target/linux/cns3xxx/patches-3.3/049-cns3xxx_smp_support.patch b/target/linux/cns3xxx/patches-3.3/025-smp_support.patch
index 578cbaf35e..578cbaf35e 100644
--- a/target/linux/cns3xxx/patches-3.3/049-cns3xxx_smp_support.patch
+++ b/target/linux/cns3xxx/patches-3.3/025-smp_support.patch
diff --git a/target/linux/cns3xxx/patches-3.3/054-cns3xxx_pcie_clock.patch b/target/linux/cns3xxx/patches-3.3/030-pcie_clock.patch
index 0c6c525039..0c6c525039 100644
--- a/target/linux/cns3xxx/patches-3.3/054-cns3xxx_pcie_clock.patch
+++ b/target/linux/cns3xxx/patches-3.3/030-pcie_clock.patch
diff --git a/target/linux/cns3xxx/patches-3.3/100-add_io_spaces.patch b/target/linux/cns3xxx/patches-3.3/035-add_io_spaces.patch
index 7e91779581..b4b018b089 100644
--- a/target/linux/cns3xxx/patches-3.3/100-add_io_spaces.patch
+++ b/target/linux/cns3xxx/patches-3.3/035-add_io_spaces.patch
@@ -1,6 +1,6 @@
--- a/arch/arm/mach-cns3xxx/core.c
+++ b/arch/arm/mach-cns3xxx/core.c
-@@ -59,6 +59,16 @@ static struct map_desc cns3xxx_io_desc[]
+@@ -58,6 +58,16 @@ static struct map_desc cns3xxx_io_desc[]
.pfn = __phys_to_pfn(CNS3XXX_PM_BASE),
.length = SZ_4K,
.type = MT_DEVICE,
diff --git a/target/linux/cns3xxx/patches-3.3/460-cns3xxx_fiq_support.patch b/target/linux/cns3xxx/patches-3.3/040-fiq_support.patch
index 4e5cb46925..9680532fd8 100644
--- a/target/linux/cns3xxx/patches-3.3/460-cns3xxx_fiq_support.patch
+++ b/target/linux/cns3xxx/patches-3.3/040-fiq_support.patch
@@ -1,6 +1,6 @@
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
-@@ -374,6 +374,7 @@ config ARCH_CNS3XXX
+@@ -373,6 +373,7 @@ config ARCH_CNS3XXX
select MIGHT_HAVE_PCI
select PCI_DOMAINS if PCI
select HAVE_SMP
@@ -55,10 +55,10 @@
--- a/arch/arm/mach-cns3xxx/Makefile
+++ b/arch/arm/mach-cns3xxx/Makefile
-@@ -2,6 +2,6 @@ obj-$(CONFIG_ARCH_CNS3XXX) += core.o pm
+@@ -1,6 +1,6 @@
+ obj-$(CONFIG_ARCH_CNS3XXX) += core.o pm.o devices.o
obj-$(CONFIG_PCI) += pcie.o
obj-$(CONFIG_MACH_CNS3420VB) += cns3420vb.o
- obj-$(CONFIG_MACH_GW2388) += laguna.o
-obj-$(CONFIG_SMP) += platsmp.o headsmp.o
+obj-$(CONFIG_SMP) += platsmp.o headsmp.o cns3xxx_fiq.o
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
diff --git a/target/linux/cns3xxx/patches-3.3/061-twd_base.patch b/target/linux/cns3xxx/patches-3.3/045-twd_base.patch
index f39dd4544e..b83ebaadf4 100644
--- a/target/linux/cns3xxx/patches-3.3/061-twd_base.patch
+++ b/target/linux/cns3xxx/patches-3.3/045-twd_base.patch
@@ -8,7 +8,7 @@
#include <asm/hardware/cache-l2x0.h>
#include <mach/cns3xxx.h>
#include "core.h"
-@@ -63,6 +64,9 @@ static struct map_desc cns3xxx_io_desc[]
+@@ -73,6 +74,9 @@ static struct map_desc cns3xxx_io_desc[]
void __init cns3xxx_map_io(void)
{
diff --git a/target/linux/cns3xxx/patches-3.3/107-cns3xxx_pcie-section-mismatch-fixes.patch b/target/linux/cns3xxx/patches-3.3/050-pcie_section_mismatch_fixes.patch
index 6d6385a477..6d6385a477 100644
--- a/target/linux/cns3xxx/patches-3.3/107-cns3xxx_pcie-section-mismatch-fixes.patch
+++ b/target/linux/cns3xxx/patches-3.3/050-pcie_section_mismatch_fixes.patch
diff --git a/target/linux/cns3xxx/patches-3.3/105-cns3xxx_pcie_io.patch b/target/linux/cns3xxx/patches-3.3/055-pcie_io.patch
index f0017178cd..3f589e77ba 100644
--- a/target/linux/cns3xxx/patches-3.3/105-cns3xxx_pcie_io.patch
+++ b/target/linux/cns3xxx/patches-3.3/055-pcie_io.patch
@@ -1,6 +1,6 @@
--- a/arch/arm/mach-cns3xxx/core.c
+++ b/arch/arm/mach-cns3xxx/core.c
-@@ -70,6 +70,16 @@ static struct map_desc cns3xxx_io_desc[]
+@@ -69,6 +69,16 @@ static struct map_desc cns3xxx_io_desc[]
.pfn = __phys_to_pfn(CNS3XXX_SSP_BASE),
.length = SZ_4K,
.type = MT_DEVICE,
@@ -17,7 +17,7 @@
},
};
-@@ -145,13 +155,13 @@ void __init cns3xxx_common_init(void)
+@@ -83,13 +93,13 @@ void __init cns3xxx_map_io(void)
/* used by entry-macro.S */
void __init cns3xxx_init_irq(void)
{
@@ -34,7 +34,7 @@
u32 clkctrl;
printk(KERN_INFO "powering system down...\n");
-@@ -325,7 +335,7 @@ static void __init __cns3xxx_timer_init(
+@@ -248,7 +258,7 @@ static void __init __cns3xxx_timer_init(
static void __init cns3xxx_timer_init(void)
{
@@ -75,14 +75,3 @@
#define __mem_pci(a) (a)
#endif
---- a/drivers/spi/spi_cns3xxx.c
-+++ b/drivers/spi/spi_cns3xxx.c
-@@ -273,7 +273,7 @@ done:
-
- static void __init cns3xxx_spi_initial(void)
- {
-- u32 __iomem *gpiob = __io(CNS3XXX_MISC_BASE_VIRT + 0x0018);
-+ u32 __iomem *gpiob = (void __iomem *) (CNS3XXX_MISC_BASE_VIRT + 0x0018);
- u32 gpiob_pins = __raw_readl(gpiob);
-
- /* MMC/SD pins share with GPIOA */
diff --git a/target/linux/cns3xxx/patches-3.3/108-cns3xxx_pcie-abort.patch b/target/linux/cns3xxx/patches-3.3/060-pcie_abort.patch
index 788b620a83..788b620a83 100644
--- a/target/linux/cns3xxx/patches-3.3/108-cns3xxx_pcie-abort.patch
+++ b/target/linux/cns3xxx/patches-3.3/060-pcie_abort.patch
diff --git a/target/linux/cns3xxx/patches-3.3/480-cns3xxx_pcie_early_init.patch b/target/linux/cns3xxx/patches-3.3/065-pcie_early_init.patch
index cd288f61bb..551f5a11fe 100644
--- a/target/linux/cns3xxx/patches-3.3/480-cns3xxx_pcie_early_init.patch
+++ b/target/linux/cns3xxx/patches-3.3/065-pcie_early_init.patch
@@ -1,9 +1,9 @@
--- a/arch/arm/mach-cns3xxx/cns3420vb.c
+++ b/arch/arm/mach-cns3xxx/cns3420vb.c
-@@ -218,11 +218,21 @@ static struct map_desc cns3420_io_desc[]
+@@ -214,11 +214,21 @@ static struct map_desc cns3420_io_desc[]
static void __init cns3420_map_io(void)
{
- cns3xxx_common_init();
+ cns3xxx_map_io();
+ cns3xxx_pcie_iotable_init();
iotable_init(cns3420_io_desc, ARRAY_SIZE(cns3420_io_desc));
@@ -35,7 +35,7 @@
void __init cns3xxx_l2x0_init(void);
@@ -21,6 +23,7 @@ static inline void cns3xxx_l2x0_init(voi
- void __init cns3xxx_common_init(void);
+ void __init cns3xxx_map_io(void);
void __init cns3xxx_init_irq(void);
+int __init cns3xxx_pcie_init(void);
void cns3xxx_power_off(void);
diff --git a/target/linux/cns3xxx/patches-3.3/050-cns3xxx_i2c_controller.patch b/target/linux/cns3xxx/patches-3.3/070-i2c_support.patch
index df7ceaceba..df7ceaceba 100644
--- a/target/linux/cns3xxx/patches-3.3/050-cns3xxx_i2c_controller.patch
+++ b/target/linux/cns3xxx/patches-3.3/070-i2c_support.patch
diff --git a/target/linux/cns3xxx/patches-3.3/052-cns3xxx_spi.patch b/target/linux/cns3xxx/patches-3.3/075-spi_support.patch
index 0434c520e2..0434c520e2 100644
--- a/target/linux/cns3xxx/patches-3.3/052-cns3xxx_spi.patch
+++ b/target/linux/cns3xxx/patches-3.3/075-spi_support.patch
diff --git a/target/linux/cns3xxx/patches-3.3/106-cns3xxx_sata_support.patch b/target/linux/cns3xxx/patches-3.3/080-sata_support.patch
index e614385484..e614385484 100644
--- a/target/linux/cns3xxx/patches-3.3/106-cns3xxx_sata_support.patch
+++ b/target/linux/cns3xxx/patches-3.3/080-sata_support.patch
diff --git a/target/linux/cns3xxx/patches-3.3/600-cns3xxx_ethernet.patch b/target/linux/cns3xxx/patches-3.3/085-ethernet_support.patch
index 84548a322c..84548a322c 100644
--- a/target/linux/cns3xxx/patches-3.3/600-cns3xxx_ethernet.patch
+++ b/target/linux/cns3xxx/patches-3.3/085-ethernet_support.patch
diff --git a/target/linux/cns3xxx/patches-3.3/102-cns3xxx_timers.patch b/target/linux/cns3xxx/patches-3.3/090-timers.patch
index c8e9be3e4b..9adf007b27 100644
--- a/target/linux/cns3xxx/patches-3.3/102-cns3xxx_timers.patch
+++ b/target/linux/cns3xxx/patches-3.3/090-timers.patch
@@ -1,6 +1,6 @@
--- a/arch/arm/mach-cns3xxx/core.c
+++ b/arch/arm/mach-cns3xxx/core.c
-@@ -115,12 +115,13 @@ static void cns3xxx_timer_set_mode(enum
+@@ -125,12 +125,13 @@ static void cns3xxx_timer_set_mode(enum
switch (mode) {
case CLOCK_EVT_MODE_PERIODIC:
@@ -15,7 +15,7 @@
ctrl |= (1 << 2) | (1 << 9);
break;
case CLOCK_EVT_MODE_UNUSED:
-@@ -145,11 +146,11 @@ static int cns3xxx_timer_set_next_event(
+@@ -155,11 +156,11 @@ static int cns3xxx_timer_set_next_event(
static struct clock_event_device cns3xxx_tmr1_clockevent = {
.name = "cns3xxx timer1",
@@ -29,7 +29,7 @@
.cpumask = cpu_all_mask,
};
-@@ -191,6 +192,35 @@ static struct irqaction cns3xxx_timer_ir
+@@ -201,6 +202,35 @@ static struct irqaction cns3xxx_timer_ir
.handler = cns3xxx_timer_interrupt,
};
@@ -65,7 +65,7 @@
/*
* Set up the clock source and clock events devices
*/
-@@ -208,13 +238,12 @@ static void __init __cns3xxx_timer_init(
+@@ -218,13 +248,12 @@ static void __init __cns3xxx_timer_init(
/* stop free running timer3 */
writel(0, cns3xxx_tmr1 + TIMER_FREERUN_CONTROL_OFFSET);
@@ -82,7 +82,7 @@
/* mask irq, non-mask timer1 overflow */
irq_mask = readl(cns3xxx_tmr1 + TIMER1_2_INTERRUPT_MASK_OFFSET);
irq_mask &= ~(1 << 2);
-@@ -226,23 +255,9 @@ static void __init __cns3xxx_timer_init(
+@@ -236,23 +265,9 @@ static void __init __cns3xxx_timer_init(
val |= (1 << 9);
writel(val, cns3xxx_tmr1 + TIMER1_2_CONTROL_OFFSET);
diff --git a/target/linux/cns3xxx/patches-3.3/104-cns3xxx_gpio.patch b/target/linux/cns3xxx/patches-3.3/095-gpio_support.patch
index 1f0d44401b..2a1d845d1c 100644
--- a/target/linux/cns3xxx/patches-3.3/104-cns3xxx_gpio.patch
+++ b/target/linux/cns3xxx/patches-3.3/095-gpio_support.patch
@@ -6,9 +6,9 @@
{
- cns3xxx_map_io();
+ cns3xxx_common_init();
+ cns3xxx_pcie_iotable_init();
iotable_init(cns3420_io_desc, ARRAY_SIZE(cns3420_io_desc));
- cns3420_early_serial_setup();
--- a/arch/arm/mach-cns3xxx/core.c
+++ b/arch/arm/mach-cns3xxx/core.c
@@ -21,6 +21,7 @@
@@ -19,7 +19,7 @@
#include <mach/cns3xxx.h>
#include "core.h"
-@@ -72,12 +73,73 @@ static struct map_desc cns3xxx_io_desc[]
+@@ -82,12 +83,73 @@ static struct map_desc cns3xxx_io_desc[]
},
};
@@ -96,15 +96,15 @@
/* 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);
+@@ -21,7 +21,7 @@ void __init cns3xxx_l2x0_init(void);
static inline void cns3xxx_l2x0_init(void) {}
#endif /* CONFIG_CACHE_L2X0 */
-void __init cns3xxx_map_io(void);
+void __init cns3xxx_common_init(void);
void __init cns3xxx_init_irq(void);
+ int __init cns3xxx_pcie_init(void);
void cns3xxx_power_off(void);
- void cns3xxx_restart(char, const char *);
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -366,6 +366,7 @@ config ARCH_CLPS711X
diff --git a/target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch b/target/linux/cns3xxx/patches-3.3/100-gpio_irq.patch
index fa40c5ba4e..a487d52e4a 100644
--- a/target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch
+++ b/target/linux/cns3xxx/patches-3.3/100-gpio_irq.patch
@@ -5,7 +5,7 @@
+obj-$(CONFIG_ARCH_CNS3XXX) += core.o gpio.o pm.o devices.o
obj-$(CONFIG_PCI) += pcie.o
obj-$(CONFIG_MACH_CNS3420VB) += cns3420vb.o
- obj-$(CONFIG_MACH_GW2388) += laguna.o
+ obj-$(CONFIG_SMP) += platsmp.o headsmp.o cns3xxx_fiq.o
--- a/arch/arm/mach-cns3xxx/cns3420vb.c
+++ b/arch/arm/mach-cns3xxx/cns3420vb.c
@@ -198,6 +198,10 @@ static void __init cns3420_init(void)
diff --git a/target/linux/cns3xxx/patches-3.3/800-cns3xxx-dwc_otg.patch b/target/linux/cns3xxx/patches-3.3/200-dwc_otg_support.patch
index ce15f7ccd8..ce15f7ccd8 100644
--- a/target/linux/cns3xxx/patches-3.3/800-cns3xxx-dwc_otg.patch
+++ b/target/linux/cns3xxx/patches-3.3/200-dwc_otg_support.patch
diff --git a/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch b/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch
index e73d7bd9d1..544fb5f8c5 100644
--- a/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch
+++ b/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch
@@ -16,11 +16,11 @@
--- a/arch/arm/mach-cns3xxx/Makefile
+++ b/arch/arm/mach-cns3xxx/Makefile
@@ -1,6 +1,7 @@
- obj-$(CONFIG_ARCH_CNS3XXX) += core.o pm.o devices.o
+ obj-$(CONFIG_ARCH_CNS3XXX) += core.o gpio.o pm.o devices.o
obj-$(CONFIG_PCI) += pcie.o
obj-$(CONFIG_MACH_CNS3420VB) += cns3420vb.o
+obj-$(CONFIG_MACH_GW2388) += laguna.o
- obj-$(CONFIG_SMP) += platsmp.o headsmp.o
+ obj-$(CONFIG_SMP) += platsmp.o headsmp.o cns3xxx_fiq.o
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
obj-$(CONFIG_LOCAL_TIMERS) += localtimer.o
--- a/arch/arm/mach-cns3xxx/devices.c
diff --git a/target/linux/cns3xxx/patches-3.3/101-laguna_sdhci_card_detect.patch b/target/linux/cns3xxx/patches-3.3/305-laguna_sdhci_card_detect.patch
index 444c5d529c..444c5d529c 100644
--- a/target/linux/cns3xxx/patches-3.3/101-laguna_sdhci_card_detect.patch
+++ b/target/linux/cns3xxx/patches-3.3/305-laguna_sdhci_card_detect.patch