summaryrefslogtreecommitdiffstats
path: root/target/linux/avr32
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/avr32')
-rw-r--r--target/linux/avr32/Makefile2
-rw-r--r--target/linux/avr32/config-default3
-rw-r--r--target/linux/avr32/patches/001-use_generic_syscall_defines.patch36
3 files changed, 39 insertions, 2 deletions
diff --git a/target/linux/avr32/Makefile b/target/linux/avr32/Makefile
index 5e495c5b3..62d249610 100644
--- a/target/linux/avr32/Makefile
+++ b/target/linux/avr32/Makefile
@@ -12,7 +12,7 @@ BOARDNAME:=Atmel AVR32
FEATURES:=squashfs
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
-LINUX_VERSION:=2.6.32.25
+LINUX_VERSION:=2.6.36
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/avr32/config-default b/target/linux/avr32/config-default
index 9f15a0ac3..edd646dd4 100644
--- a/target/linux/avr32/config-default
+++ b/target/linux/avr32/config-default
@@ -17,9 +17,10 @@ CONFIG_ATMEL_TCB_CLKSRC_BLOCK=0
CONFIG_ATMEL_TCLIB=y
CONFIG_AVR32=y
CONFIG_BITREVERSE=y
-CONFIG_BOARD_ATNGW100=y
CONFIG_BOARD_ATNGW100_ADDON_NONE=y
# CONFIG_BOARD_ATNGW100_EVKLCD10X is not set
+CONFIG_BOARD_ATNGW100_MKI=y
+# CONFIG_BOARD_ATNGW100_MKII is not set
# CONFIG_BOARD_ATNGW100_MRMT is not set
# CONFIG_BOARD_ATSTK1000 is not set
# CONFIG_BOARD_FAVR_32 is not set
diff --git a/target/linux/avr32/patches/001-use_generic_syscall_defines.patch b/target/linux/avr32/patches/001-use_generic_syscall_defines.patch
new file mode 100644
index 000000000..a3b7041d3
--- /dev/null
+++ b/target/linux/avr32/patches/001-use_generic_syscall_defines.patch
@@ -0,0 +1,36 @@
+From e9c8bb3f2bf792fd63f3ab2e1f5333267d1155fe Mon Sep 17 00:00:00 2001
+From: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
+Date: Wed, 3 Nov 2010 10:25:45 +0100
+Subject: [PATCH 1/1] avr32: use generic syscall defines instead of arch specific
+
+This patch removes the duplicated syscall function defines in syscalls.h and
+relies on the generic defines in the asm-generic directory. This fix makes
+AVR32 architecture compile again, as the duplicated syscalls.h functions came
+in conflict with other patches.
+
+Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
+---
+ arch/avr32/include/asm/syscalls.h | 9 ---------
+ 1 files changed, 0 insertions(+), 9 deletions(-)
+
+--- a/arch/avr32/include/asm/syscalls.h
++++ b/arch/avr32/include/asm/syscalls.h
+@@ -16,18 +16,9 @@
+ #include <linux/signal.h>
+
+ /* kernel/process.c */
+-asmlinkage int sys_fork(struct pt_regs *);
+ asmlinkage int sys_clone(unsigned long, unsigned long,
+ unsigned long, unsigned long,
+ struct pt_regs *);
+-asmlinkage int sys_vfork(struct pt_regs *);
+-asmlinkage int sys_execve(const char __user *, char __user *__user *,
+- char __user *__user *, struct pt_regs *);
+-
+-/* kernel/signal.c */
+-asmlinkage int sys_sigaltstack(const stack_t __user *, stack_t __user *,
+- struct pt_regs *);
+-asmlinkage int sys_rt_sigreturn(struct pt_regs *);
+
+ /* mm/cache.c */
+ asmlinkage int sys_cacheflush(int, void __user *, size_t);