From e861730fef124e281a02fdff38511bfbbb8fae99 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 14 Mar 2010 16:21:28 +0000 Subject: [brcm63xx] refresh 2.6.32 patches, fix livebox support (#6821) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20204 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-2.6.32/170-board_livebox.patch | 32 ++++++++-------------- 1 file changed, 11 insertions(+), 21 deletions(-) (limited to 'target/linux/brcm63xx/patches-2.6.32/170-board_livebox.patch') diff --git a/target/linux/brcm63xx/patches-2.6.32/170-board_livebox.patch b/target/linux/brcm63xx/patches-2.6.32/170-board_livebox.patch index 6cf3f7182..02354d573 100644 --- a/target/linux/brcm63xx/patches-2.6.32/170-board_livebox.patch +++ b/target/linux/brcm63xx/patches-2.6.32/170-board_livebox.patch @@ -1,8 +1,6 @@ -Index: linux-2.6.32.9/arch/mips/bcm63xx/boards/Kconfig -=================================================================== ---- linux-2.6.32.9.orig/arch/mips/bcm63xx/boards/Kconfig 2010-02-28 19:03:38.000000000 +0100 -+++ linux-2.6.32.9/arch/mips/bcm63xx/boards/Kconfig 2010-02-28 19:04:38.000000000 +0100 -@@ -8,4 +8,10 @@ +--- a/arch/mips/bcm63xx/boards/Kconfig ++++ b/arch/mips/bcm63xx/boards/Kconfig +@@ -8,4 +8,10 @@ config BOARD_BCM963XX select SSB help @@ -13,20 +11,16 @@ Index: linux-2.6.32.9/arch/mips/bcm63xx/boards/Kconfig + Inventel Livebox boards using the RedBoot bootloader. + endchoice -Index: linux-2.6.32.9/arch/mips/bcm63xx/boards/Makefile -=================================================================== ---- linux-2.6.32.9.orig/arch/mips/bcm63xx/boards/Makefile 2010-02-28 19:03:45.000000000 +0100 -+++ linux-2.6.32.9/arch/mips/bcm63xx/boards/Makefile 2010-02-28 19:04:54.000000000 +0100 +--- a/arch/mips/bcm63xx/boards/Makefile ++++ b/arch/mips/bcm63xx/boards/Makefile @@ -1,3 +1,4 @@ obj-$(CONFIG_BOARD_BCM963XX) += board_bcm963xx.o +obj-$(CONFIG_BOARD_LIVEBOX) += board_livebox.o EXTRA_CFLAGS += -Werror -Index: linux-2.6.32.9/arch/mips/bcm63xx/boards/board_livebox.c -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.32.9/arch/mips/bcm63xx/boards/board_livebox.c 2010-02-28 19:05:16.000000000 +0100 -@@ -0,0 +1,227 @@ +--- /dev/null ++++ b/arch/mips/bcm63xx/boards/board_livebox.c +@@ -0,0 +1,223 @@ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive @@ -42,15 +36,14 @@ Index: linux-2.6.32.9/arch/mips/bcm63xx/boards/board_livebox.c +#include +#include +#include ++#include ++#include +#include +#include +#include +#include +#include -+#include +#include -+#include -+#include +#include +#include +#include @@ -222,9 +215,6 @@ Index: linux-2.6.32.9/arch/mips/bcm63xx/boards/board_livebox.c +{ + u32 val; + -+ bcm63xx_uart_register(); -+ bcm63xx_wdt_register(); -+ + if (board.has_pccard) + bcm63xx_pcmcia_register(); + @@ -248,7 +238,7 @@ Index: linux-2.6.32.9/arch/mips/bcm63xx/boards/board_livebox.c + val &= MPI_CSBASE_BASE_MASK; + mtd_resources[0].start = val; + mtd_resources[0].end = 0x1FFFFFFF; -+ ++ + platform_device_register(&mtd_dev); + + return 0; -- cgit v1.2.3