summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.33/170-board_livebox.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-14 16:21:28 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-14 16:21:28 +0000
commite861730fef124e281a02fdff38511bfbbb8fae99 (patch)
treea75e1d75a4bb4884492408479f631b524e19ecc0 /target/linux/brcm63xx/patches-2.6.33/170-board_livebox.patch
parent34d8a52831de58408d4081051e1d2007bd83b7e5 (diff)
[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
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.33/170-board_livebox.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.33/170-board_livebox.patch12
1 files changed, 4 insertions, 8 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.33/170-board_livebox.patch b/target/linux/brcm63xx/patches-2.6.33/170-board_livebox.patch
index 38b004185..02354d573 100644
--- a/target/linux/brcm63xx/patches-2.6.33/170-board_livebox.patch
+++ b/target/linux/brcm63xx/patches-2.6.33/170-board_livebox.patch
@@ -20,7 +20,7 @@
EXTRA_CFLAGS += -Werror
--- /dev/null
+++ b/arch/mips/bcm63xx/boards/board_livebox.c
-@@ -0,0 +1,227 @@
+@@ -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
@@ -36,15 +36,14 @@
+#include <linux/mtd/mtd.h>
+#include <linux/mtd/partitions.h>
+#include <linux/mtd/physmap.h>
++#include <linux/input.h>
++#include <linux/gpio_buttons.h>
+#include <asm/addrspace.h>
+#include <bcm63xx_board.h>
+#include <bcm63xx_cpu.h>
+#include <bcm63xx_regs.h>
+#include <bcm63xx_io.h>
-+#include <bcm63xx_board.h>
+#include <bcm63xx_dev_pci.h>
-+#include <bcm63xx_dev_uart.h>
-+#include <bcm63xx_dev_wdt.h>
+#include <bcm63xx_dev_enet.h>
+#include <bcm63xx_dev_pcmcia.h>
+#include <bcm63xx_dev_usb_ohci.h>
@@ -216,9 +215,6 @@
+{
+ u32 val;
+
-+ bcm63xx_uart_register();
-+ bcm63xx_wdt_register();
-+
+ if (board.has_pccard)
+ bcm63xx_pcmcia_register();
+
@@ -242,7 +238,7 @@
+ val &= MPI_CSBASE_BASE_MASK;
+ mtd_resources[0].start = val;
+ mtd_resources[0].end = 0x1FFFFFFF;
-+
++
+ platform_device_register(&mtd_dev);
+
+ return 0;