projects
/
openwrt
/
staging
/
dedeckeh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
31d9f3d
)
cns3xxx: add missing callbacks for the laguna machine support
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 19 Sep 2012 23:49:50 +0000
(23:49 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 19 Sep 2012 23:49:50 +0000
(23:49 +0000)
SVN-Revision: 33484
target/linux/cns3xxx/patches-3.3/100-laguna_support.patch
patch
|
blob
|
history
target/linux/cns3xxx/patches-3.3/102-cns3xxx_timers.patch
patch
|
blob
|
history
target/linux/cns3xxx/patches-3.3/104-cns3xxx_gpio.patch
patch
|
blob
|
history
target/linux/cns3xxx/patches-3.3/200-dwc_otg.patch
patch
|
blob
|
history
diff --git
a/target/linux/cns3xxx/patches-3.3/100-laguna_support.patch
b/target/linux/cns3xxx/patches-3.3/100-laguna_support.patch
index 64b7adb7e022d60644fba41a62c7e7fd28b13491..45162bd9f721e612db7a9e99f8c55cc19d38f52d 100644
(file)
--- a/
target/linux/cns3xxx/patches-3.3/100-laguna_support.patch
+++ b/
target/linux/cns3xxx/patches-3.3/100-laguna_support.patch
@@
-1,6
+1,6
@@
--- /dev/null
+++ b/arch/arm/mach-cns3xxx/laguna.c
--- /dev/null
+++ b/arch/arm/mach-cns3xxx/laguna.c
-@@ -0,0 +1,76
1
@@
+@@ -0,0 +1,76
4
@@
+/*
+ * Gateworks Corporation Laguna Platform
+ *
+/*
+ * Gateworks Corporation Laguna Platform
+ *
@@
-45,6
+45,7
@@
+#include <mach/irqs.h>
+#include <mach/platform.h>
+#include <mach/pm.h>
+#include <mach/irqs.h>
+#include <mach/platform.h>
+#include <mach/pm.h>
++#include <asm/hardware/gic.h>
+#include "core.h"
+#include "devices.h"
+
+#include "core.h"
+#include "devices.h"
+
@@
-760,7
+761,9
@@
+ .map_io = laguna_map_io,
+ .init_irq = cns3xxx_init_irq,
+ .timer = &cns3xxx_timer,
+ .map_io = laguna_map_io,
+ .init_irq = cns3xxx_init_irq,
+ .timer = &cns3xxx_timer,
++ .handle_irq = gic_handle_irq,
+ .init_machine = laguna_init,
+ .init_machine = laguna_init,
++ .restart = cns3xxx_restart,
+MACHINE_END
--- a/arch/arm/mach-cns3xxx/Kconfig
+++ b/arch/arm/mach-cns3xxx/Kconfig
+MACHINE_END
--- a/arch/arm/mach-cns3xxx/Kconfig
+++ b/arch/arm/mach-cns3xxx/Kconfig
diff --git
a/target/linux/cns3xxx/patches-3.3/102-cns3xxx_timers.patch
b/target/linux/cns3xxx/patches-3.3/102-cns3xxx_timers.patch
index 9adf007b2747fe0deb72f5ef48b741fbecc757a2..281f61f414da0d18992ba72756b4128446d2aaf4 100644
(file)
--- a/
target/linux/cns3xxx/patches-3.3/102-cns3xxx_timers.patch
+++ b/
target/linux/cns3xxx/patches-3.3/102-cns3xxx_timers.patch
@@
-1,6
+1,6
@@
--- a/arch/arm/mach-cns3xxx/core.c
+++ b/arch/arm/mach-cns3xxx/core.c
--- a/arch/arm/mach-cns3xxx/core.c
+++ b/arch/arm/mach-cns3xxx/core.c
-@@ -125,12 +125,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:
switch (mode) {
case CLOCK_EVT_MODE_PERIODIC:
diff --git
a/target/linux/cns3xxx/patches-3.3/104-cns3xxx_gpio.patch
b/target/linux/cns3xxx/patches-3.3/104-cns3xxx_gpio.patch
index c5928e5e338d11e132a4e65296097d153d17bb4d..e8a1d4be8565714c7c6adafab4ff1c9de3cf4ad4 100644
(file)
--- a/
target/linux/cns3xxx/patches-3.3/104-cns3xxx_gpio.patch
+++ b/
target/linux/cns3xxx/patches-3.3/104-cns3xxx_gpio.patch
@@
-107,7
+107,7
@@
void cns3xxx_restart(char, const char *);
--- a/arch/arm/mach-cns3xxx/laguna.c
+++ b/arch/arm/mach-cns3xxx/laguna.c
void cns3xxx_restart(char, const char *);
--- a/arch/arm/mach-cns3xxx/laguna.c
+++ b/arch/arm/mach-cns3xxx/laguna.c
-@@ -61
1,7 +611,7 @@ static struct map_desc laguna_io_desc[]
+@@ -61
2,7 +612,7 @@ static struct map_desc laguna_io_desc[]
static void __init laguna_map_io(void)
{
static void __init laguna_map_io(void)
{
diff --git
a/target/linux/cns3xxx/patches-3.3/200-dwc_otg.patch
b/target/linux/cns3xxx/patches-3.3/200-dwc_otg.patch
index b53e508df34699cd2d3820e05ae739f721414293..8439d0ec702ac75624ccbfe3c18f820ab8ec4d8b 100644
(file)
--- a/
target/linux/cns3xxx/patches-3.3/200-dwc_otg.patch
+++ b/
target/linux/cns3xxx/patches-3.3/200-dwc_otg.patch
@@
-1,6
+1,6
@@
--- a/drivers/Makefile
+++ b/drivers/Makefile
--- a/drivers/Makefile
+++ b/drivers/Makefile
-@@ -7
0,6 +70
,7 @@ obj-$(CONFIG_PARIDE) += block/paride/
+@@ -7
1,6 +71
,7 @@ obj-$(CONFIG_PARIDE) += block/paride/
obj-$(CONFIG_TC) += tc/
obj-$(CONFIG_UWB) += uwb/
obj-$(CONFIG_USB_OTG_UTILS) += usb/
obj-$(CONFIG_TC) += tc/
obj-$(CONFIG_UWB) += uwb/
obj-$(CONFIG_USB_OTG_UTILS) += usb/