mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 19:37:10 +02:00
cns3xxx: add missing callbacks for the laguna machine support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33484 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6378832d2f
commit
77da9ae1d3
@ -1,6 +1,6 @@
|
|||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/arch/arm/mach-cns3xxx/laguna.c
|
+++ b/arch/arm/mach-cns3xxx/laguna.c
|
||||||
@@ -0,0 +1,761 @@
|
@@ -0,0 +1,764 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Gateworks Corporation Laguna Platform
|
+ * Gateworks Corporation Laguna Platform
|
||||||
+ *
|
+ *
|
||||||
@ -45,6 +45,7 @@
|
|||||||
+#include <mach/irqs.h>
|
+#include <mach/irqs.h>
|
||||||
+#include <mach/platform.h>
|
+#include <mach/platform.h>
|
||||||
+#include <mach/pm.h>
|
+#include <mach/pm.h>
|
||||||
|
+#include <asm/hardware/gic.h>
|
||||||
+#include "core.h"
|
+#include "core.h"
|
||||||
+#include "devices.h"
|
+#include "devices.h"
|
||||||
+
|
+
|
||||||
@ -760,7 +761,9 @@
|
|||||||
+ .map_io = laguna_map_io,
|
+ .map_io = laguna_map_io,
|
||||||
+ .init_irq = cns3xxx_init_irq,
|
+ .init_irq = cns3xxx_init_irq,
|
||||||
+ .timer = &cns3xxx_timer,
|
+ .timer = &cns3xxx_timer,
|
||||||
|
+ .handle_irq = gic_handle_irq,
|
||||||
+ .init_machine = laguna_init,
|
+ .init_machine = laguna_init,
|
||||||
|
+ .restart = cns3xxx_restart,
|
||||||
+MACHINE_END
|
+MACHINE_END
|
||||||
--- a/arch/arm/mach-cns3xxx/Kconfig
|
--- a/arch/arm/mach-cns3xxx/Kconfig
|
||||||
+++ b/arch/arm/mach-cns3xxx/Kconfig
|
+++ b/arch/arm/mach-cns3xxx/Kconfig
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/arch/arm/mach-cns3xxx/core.c
|
--- a/arch/arm/mach-cns3xxx/core.c
|
||||||
+++ b/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) {
|
switch (mode) {
|
||||||
case CLOCK_EVT_MODE_PERIODIC:
|
case CLOCK_EVT_MODE_PERIODIC:
|
||||||
|
@ -107,7 +107,7 @@
|
|||||||
void cns3xxx_restart(char, const char *);
|
void cns3xxx_restart(char, const char *);
|
||||||
--- a/arch/arm/mach-cns3xxx/laguna.c
|
--- a/arch/arm/mach-cns3xxx/laguna.c
|
||||||
+++ b/arch/arm/mach-cns3xxx/laguna.c
|
+++ b/arch/arm/mach-cns3xxx/laguna.c
|
||||||
@@ -611,7 +611,7 @@ static struct map_desc laguna_io_desc[]
|
@@ -612,7 +612,7 @@ static struct map_desc laguna_io_desc[]
|
||||||
|
|
||||||
static void __init laguna_map_io(void)
|
static void __init laguna_map_io(void)
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/Makefile
|
--- a/drivers/Makefile
|
||||||
+++ b/drivers/Makefile
|
+++ b/drivers/Makefile
|
||||||
@@ -70,6 +70,7 @@ obj-$(CONFIG_PARIDE) += block/paride/
|
@@ -71,6 +71,7 @@ obj-$(CONFIG_PARIDE) += block/paride/
|
||||||
obj-$(CONFIG_TC) += tc/
|
obj-$(CONFIG_TC) += tc/
|
||||||
obj-$(CONFIG_UWB) += uwb/
|
obj-$(CONFIG_UWB) += uwb/
|
||||||
obj-$(CONFIG_USB_OTG_UTILS) += usb/
|
obj-$(CONFIG_USB_OTG_UTILS) += usb/
|
||||||
|
Loading…
Reference in New Issue
Block a user