From 29ec26ff1bdcb281b6331f4a88b3813fb8ed0c75 Mon Sep 17 00:00:00 2001 From: lars Date: Wed, 12 May 2010 23:12:41 +0000 Subject: [xburst] Add 2.6.34 patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21438 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../007-add-n526-board-support.patch | 381 +++++++++++++++++++++ 1 file changed, 381 insertions(+) create mode 100644 target/linux/xburst/patches-2.6.34/007-add-n526-board-support.patch (limited to 'target/linux/xburst/patches-2.6.34/007-add-n526-board-support.patch') diff --git a/target/linux/xburst/patches-2.6.34/007-add-n526-board-support.patch b/target/linux/xburst/patches-2.6.34/007-add-n526-board-support.patch new file mode 100644 index 000000000..c0348aca9 --- /dev/null +++ b/target/linux/xburst/patches-2.6.34/007-add-n526-board-support.patch @@ -0,0 +1,381 @@ +From 3999cbda30a298ee3385a0748f670e40db0b094a Mon Sep 17 00:00:00 2001 +From: Lars-Peter Clausen +Date: Sat, 24 Apr 2010 17:25:23 +0200 +Subject: [PATCH] Add n526 board support + +--- + arch/mips/jz4740/Kconfig | 4 + + arch/mips/jz4740/Makefile | 1 + + arch/mips/jz4740/board-n526.c | 333 +++++++++++++++++++++++++++++++++++++++++ + 3 files changed, 338 insertions(+), 0 deletions(-) + create mode 100644 arch/mips/jz4740/board-n526.c + +diff --git a/arch/mips/jz4740/Kconfig b/arch/mips/jz4740/Kconfig +index b987c27..e667913 100644 +--- a/arch/mips/jz4740/Kconfig ++++ b/arch/mips/jz4740/Kconfig +@@ -11,6 +11,10 @@ config JZ4740_N516 + bool "Hanvon n516 eBook reader" + select SOC_JZ4740 + ++config JZ4740_N526 ++ bool "Hanvon n526 eBook reader" ++ select SOC_JZ4740 ++ + endchoice + + config HAVE_PWM +diff --git a/arch/mips/jz4740/Makefile b/arch/mips/jz4740/Makefile +index 9ed5e5b..80ccf77 100644 +--- a/arch/mips/jz4740/Makefile ++++ b/arch/mips/jz4740/Makefile +@@ -13,6 +13,7 @@ obj-$(CONFIG_DEBUG_FS) += clock-debugfs.o + + obj-$(CONFIG_JZ4740_QI_LB60) += board-qi_lb60.o + obj-$(CONFIG_JZ4740_N516) += board-n516.o board-n516-display.o ++obj-$(CONFIG_JZ4740_N526) += board-n526.o + + # PM support + +diff --git a/arch/mips/jz4740/board-n526.c b/arch/mips/jz4740/board-n526.c +new file mode 100644 +index 0000000..e3e6710 +--- /dev/null ++++ b/arch/mips/jz4740/board-n526.c +@@ -0,0 +1,333 @@ ++/* ++ * Copyright (C) 2009, Lars-Peter Clausen ++ * N526 eBook reader support ++ * ++ * This program is free software; you can redistribute it and/or modify it ++ * under the terms of the GNU General Public License as published by the ++ * Free Software Foundation; either version 2 of the License, or (at your ++ * option) any later version. ++ * ++ * You should have received a copy of the GNU General Public License along ++ * with this program; if not, write to the Free Software Foundation, Inc., ++ * 675 Mass Ave, Cambridge, MA 02139, USA. ++ * ++ */ ++ ++#include ++#include ++#include ++ ++#include ++ ++#include ++#include ++#include ++#include ++ ++#include