From 27c96589841e277dd51baa42632ca351faceb4ef Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 27 Oct 2010 10:02:13 +0000 Subject: [brcm63xx] register uart driver on livebox (#8013) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23653 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm63xx/patches-2.6.35/170-board_livebox.patch | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'target/linux') diff --git a/target/linux/brcm63xx/patches-2.6.35/170-board_livebox.patch b/target/linux/brcm63xx/patches-2.6.35/170-board_livebox.patch index 02354d573c..6c390456cb 100644 --- a/target/linux/brcm63xx/patches-2.6.35/170-board_livebox.patch +++ b/target/linux/brcm63xx/patches-2.6.35/170-board_livebox.patch @@ -20,7 +20,7 @@ EXTRA_CFLAGS += -Werror --- /dev/null +++ b/arch/mips/bcm63xx/boards/board_livebox.c -@@ -0,0 +1,223 @@ +@@ -0,0 +1,228 @@ +/* + * 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 @@ -43,6 +43,7 @@ +#include +#include +#include ++#include +#include +#include +#include @@ -63,6 +64,7 @@ + .name = "Livebox", + .expected_cpu_id = 0x6348, + ++ .has_uart0 = 1, + .has_enet0 = 1, + .has_enet1 = 1, + .has_pci = 1, @@ -215,6 +217,9 @@ +{ + u32 val; + ++ if (board.has_uart0) ++ bcm63xx_uart_register(0); ++ + if (board.has_pccard) + bcm63xx_pcmcia_register(); + -- cgit v1.2.3